Browse Source

Merge branch 'master' of gitee.com:mongos/uni-cli-template

develop
wally 4 years ago
parent
commit
0aa6f425e7
  1. 7
      CHANGELOG.md
  2. 2
      src/main.js

7
CHANGELOG.md

@ -11,6 +11,12 @@
--|--|-- --|--|--
- | README.md | [ab0eb05](https://gitee.com/mongos/uni-cli-template/commits/ab0eb05) - | README.md | [ab0eb05](https://gitee.com/mongos/uni-cli-template/commits/ab0eb05)
### chore
范围|描述|commitId
--|--|--
pwa 小程序 | 移除了pwa,alloyFinger添加平台判断 | [875fab4](https://gitee.com/mongos/uni-cli-template/commits/875fab4)
# [1.1.0](https://gitee.com/mongos/uni-cli-template/compare/v1.0.1...v1.1.0) (2021-06-23) # [1.1.0](https://gitee.com/mongos/uni-cli-template/compare/v1.0.1...v1.1.0) (2021-06-23)
### 🌟 新功能 ### 🌟 新功能
@ -41,4 +47,3 @@
范围|描述|commitId 范围|描述|commitId
--|--|-- --|--|--
- | init | [c0f1deb](https://gitee.com/mongos/uni-cli-template/commits/c0f1deb) - | init | [c0f1deb](https://gitee.com/mongos/uni-cli-template/commits/c0f1deb)

2
src/main.js

@ -12,13 +12,13 @@ Vue.use(AlloyFingerPlugin, { AlloyFinger });
Vue.config.productionTip = false; Vue.config.productionTip = false;
Vue.use(uView); Vue.use(uView);
Vue.use(AlloyFingerPlugin, { AlloyFinger });
App.mpType = 'app'; App.mpType = 'app';
const app = new Vue({ ...App }); const app = new Vue({ ...App });
import request from '@/utils/request.js'; import request from '@/utils/request.js';
import './registerServiceWorker';
Vue.use(request, app); Vue.use(request, app);
app.$mount(); app.$mount();

Loading…
Cancel
Save