From 4f2744f137b0faef0b001fddd824a565b5a99861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Wed, 1 Mar 2023 08:51:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=B7=A5=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/device/APF/detail.vue | 4 ++++ 1 file changed, 4 insertions(+) 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',