APPbug反馈修改
This commit is contained in:
@@ -93,14 +93,14 @@ export default {
|
||||
// },
|
||||
],
|
||||
content: [
|
||||
{
|
||||
iconPath: '/static/share.png',
|
||||
text: '编辑',
|
||||
},
|
||||
{
|
||||
iconPath: '/static/delate.png',
|
||||
text: '删除',
|
||||
},
|
||||
// {
|
||||
// iconPath: '/static/share.png',
|
||||
// text: '编辑',
|
||||
// },
|
||||
// {
|
||||
// iconPath: '/static/delate.png',
|
||||
// text: '删除',
|
||||
// },
|
||||
],
|
||||
navHeight: 0,
|
||||
navMenuActive: 0,
|
||||
@@ -177,16 +177,17 @@ export default {
|
||||
onLoad(option) {
|
||||
this.engineering = JSON.parse(decodeURIComponent(option.engineering))
|
||||
let userInfo = uni.getStorageSync('userInfo')
|
||||
if (userInfo.authorities == '3') {
|
||||
this.content.push({
|
||||
iconPath: '/static/transfer.png',
|
||||
text: '移交',
|
||||
})
|
||||
} else if (userInfo.authorities == '4') {
|
||||
this.content.push({
|
||||
iconPath: '/static/share.png',
|
||||
text: '分享',
|
||||
})
|
||||
if (userInfo.authorities == 'engineering_user' || userInfo.authorities == 'app_vip_user') {
|
||||
this.content.push(
|
||||
{
|
||||
iconPath: '/static/share.png',
|
||||
text: '编辑',
|
||||
},
|
||||
{
|
||||
iconPath: '/static/delate.png',
|
||||
text: '删除',
|
||||
},
|
||||
)
|
||||
}
|
||||
setTimeout(() => {
|
||||
// 获取nav高度
|
||||
|
||||
Reference in New Issue
Block a user