修复:版本检测及默认语言设置修改
This commit is contained in:
4
App.vue
4
App.vue
@@ -1,13 +1,13 @@
|
||||
<script>
|
||||
// #ifdef APP-PLUS
|
||||
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
|
||||
import update from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
|
||||
// #endif
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch')
|
||||
// 检测自动更新
|
||||
// #ifdef APP-PLUS
|
||||
updata();
|
||||
update();
|
||||
// #endif
|
||||
},
|
||||
onShow: function() {
|
||||
|
||||
Reference in New Issue
Block a user