main.js
@@ -27,7 +27,8 @@ reqPost, reqAllJson, reqDelete, reqPut reqPut, reqGetId } from '@/api/index.js' Vue.prototype.$reqAll = reqAll Vue.prototype.$reqAllJson = reqAllJson @@ -36,6 +37,7 @@ Vue.prototype.$reqDelete = reqDelete Vue.prototype.$reqPut = reqPut Vue.prototype.$store = store Vue.prototype.$reqGetId = reqGetId // 由于微信小程序的运行机制问题,需声明如下一行,H5和APP非必填 const app = new Vue({ store,