diff --git a/pages/device/APF/detail.vue b/pages/device/APF/detail.vue index 79e4d5d..f38fcf2 100644 --- a/pages/device/APF/detail.vue +++ b/pages/device/APF/detail.vue @@ -157,6 +157,7 @@ export default { console.log(userInfo.role); switch (userInfo.role) { case 1: + this.content.splice(0, 1) this.content.splice(0, 0, { iconPath: '/static/version.png', text: '版本', @@ -165,6 +166,9 @@ export default { text: '模版', }) break; + case 2: + this.content.splice(0, 1) + break; case 3: this.content.splice(0, 0, { iconPath: '/static/transfer.png',