GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kbbnice/dyg_vue: Hello Dyg doctor

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
build
build
 
 
config
config
 
 
src
src
 
 
static
static
 
 
效果图
效果图
 
 
.babelrc
.babelrc
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.postcssrc.js
.postcssrc.js
 
 
README.md
README.md
 
 
index.html
index.html
 
 
list.txt
list.txt
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
windows下点我运行.bat
windows下点我运行.bat
 
 
编译.bat
编译.bat
 
 

Repository files navigation

vueapi

A Vue.js project 一个vue.js项目

Build Setup

# install dependencies
# 更新依赖
npm install

# serve with hot reload at localhost:8080
# 运行命令
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

ajax

npm install axios -S

#main.js:

import axios from 'axios'

改写原型链

Vue.prototype.$ajax = axios

#使用

methods: {

submitForm () {

this.$ajax({

method: 'post',

url: '/user',

data: {

name: 'wise',

info: 'wrong'

}

})

}

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

dyg

20180416 push backup the lasted note

##个人中心引入图标(未排版) ##新增食物 ##尝试使用 jsonp 进行跨域,产生问题,原因,未知 ##############################

20180416 push backup the lasted note

##解决ajax跨域不成功的问题,通过配置代理访问,返回了成功标识,但数据依旧提示请求头错误

About

Hello Dyg doctor

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.