摘要:
使用 axios 访问 API 安装 axios npm install axios 然后在入口文件 main.js中引入 import axios from 'axios' vue.prototype.$http = axios 在 src 下新建 src\mock文件夹,新建mock.js // 阅读全文
posted @ 2020-11-16 17:47
DeyouKong
阅读(358)
评论(0)
推荐(0)
摘要:
登录页面开发 调整项目目录结构如下 其中 src\store\index.js import Vue from 'vue'import Vuex from 'vuex'import state from './state'import mutations from './mutations'impo 阅读全文
posted @ 2020-11-16 11:34
DeyouKong
阅读(682)
评论(0)
推荐(0)

浙公网安备 33010602011771号