校正代码
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"private": false,
|
||||
"author": "Kubbo",
|
||||
"scripts": {
|
||||
"dev:mp-weixin": "node bin/serve.js&&cross-env NODE_ENV=development VUE_APP_CW_MODE=dev UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch --minimize",
|
||||
"dev": "node bin/serve.js&&cross-env NODE_ENV=development VUE_APP_CW_MODE=dev UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch --minimize",
|
||||
"lib": "npm unpublish --force&&npm publish",
|
||||
"pages": "node bin/serve.js",
|
||||
"lib:all": "node project/build.js&&npm unpublish --workspaces --force&&npm publish --workspaces"
|
||||
|
||||
@@ -13,10 +13,7 @@ Vue.prototype.$instance = axios.instance
|
||||
Vue.prototype.$areaId = config.areaId;
|
||||
Vue.prototype.$areaName = config.areaName;
|
||||
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/'
|
||||
|
||||
App.mpType = 'app'
|
||||
|
||||
|
||||
Object.keys(utils).map(e => Vue.prototype[e] = utils[e])
|
||||
utils.$dict.init(axios.instance)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user