隐藏游客创建工程
This commit is contained in:
@@ -48,7 +48,14 @@ export default {
|
|||||||
this.engineeringList = uni.getStorageSync('engineeringList')
|
this.engineeringList = uni.getStorageSync('engineeringList')
|
||||||
this.userInfo = uni.getStorageSync(this.$cacheKey.userInfo)
|
this.userInfo = uni.getStorageSync(this.$cacheKey.userInfo)
|
||||||
if (!(this.userInfo.authorities === 'app_vip_user' || this.userInfo.authorities === 'engineering_user')) {
|
if (!(this.userInfo.authorities === 'app_vip_user' || this.userInfo.authorities === 'engineering_user')) {
|
||||||
|
// 修改buttons
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
var webView = this.$mp.page.$getAppWebview()
|
||||||
|
// 修改buttons
|
||||||
|
webView.setTitleNViewButtonStyle(0, {
|
||||||
|
width: '0',
|
||||||
|
})
|
||||||
|
// #endif
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|||||||
Reference in New Issue
Block a user