摘要: 后台的开发方式不同导致很多细节性差异,此封装仅供参考 import axios from 'axios' import store from '../../store.js' import router from '../../router.js' import qs from 'qs' impor 阅读全文
posted @ 2018-11-09 10:04 树叶———— 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 用户是否需要登录 import Vue from 'vue'import Router from 'vue-router' Vue.use(Router)const routes = [{ path: '/', redirect: '/home' }, { path: '/home', name: 阅读全文
posted @ 2018-11-09 09:58 树叶———— 阅读(2350) 评论(0) 推荐(0) 编辑
摘要: 公司的一个后台项目,自己人用,没有兼容性要求。 一直兼容ie8的我,是时候放飞自我了。 下面是暂时遇到的一些问题。 error:Cannot assign to read only property 'exports' of object '#<Object>' import 和 module.ex 阅读全文
posted @ 2018-11-09 09:53 树叶———— 阅读(769) 评论(0) 推荐(0) 编辑