隐藏游客创建工程

This commit is contained in:
仲么了
2023-09-18 10:47:23 +08:00
parent 054bdb8ba2
commit fdede42e08

View File

@@ -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() {