提交 276bef28 编写于 作者: DCloud_JSON's avatar DCloud_JSON

Merge branch 'master' of https://gitee.com/dcloud/base-app

...@@ -82,7 +82,8 @@ ...@@ -82,7 +82,8 @@
] ]
} }
}, },
onLoad() { onLoad() {
//#ifdef APP-PLUS
this.ucenterList[this.ucenterList.length - 1].unshift( this.ucenterList[this.ucenterList.length - 1].unshift(
{ {
title: '检查更新', title: '检查更新',
...@@ -90,16 +91,19 @@ ...@@ -90,16 +91,19 @@
event: 'checkVersion', event: 'checkVersion',
showBadge: this.appVersion.hasNew showBadge: this.appVersion.hasNew
} }
) )
//#endif
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({
userInfo: 'user/info', userInfo: 'user/info',
login: 'user/hasLogin' login: 'user/hasLogin'
}), })
appVersion() { // #ifdef APP-PLUS
return getApp().appVersion ,appVersion() {
} return getApp().appVersion
}
// #endif
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册