去除app.vue报错
This commit is contained in:
3
App.vue
3
App.vue
@@ -10,9 +10,6 @@ App.vue本身不是页面,这里不能编写视图元素,也就是没有<tem
|
|||||||
onLaunch(() => {
|
onLaunch(() => {
|
||||||
uni.hideTabBar()
|
uni.hideTabBar()
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
uni.setInnerAudioOption({
|
|
||||||
obeyMuteSwitch: false
|
|
||||||
});
|
|
||||||
const updateManager = wx.getUpdateManager() // 小程序版本更新管理器
|
const updateManager = wx.getUpdateManager() // 小程序版本更新管理器
|
||||||
updateManager.onCheckForUpdate(function(res) {
|
updateManager.onCheckForUpdate(function(res) {
|
||||||
// 请求完新版本信息的回调
|
// 请求完新版本信息的回调
|
||||||
|
|||||||
Reference in New Issue
Block a user