From c7298c0ad9c728f55618ad4f924f723f7d2d0a38 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 26 一月 2022 11:06:15 +0800
Subject: [PATCH] bug修复

---
 src/pages/systemSettings/index/App.vue |   35 ++++++++++++++++++-----------------
 1 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/src/pages/systemSettings/index/App.vue b/src/pages/systemSettings/index/App.vue
index 8a8d3e9..d2ecf07 100644
--- a/src/pages/systemSettings/index/App.vue
+++ b/src/pages/systemSettings/index/App.vue
@@ -8,16 +8,17 @@
 import BasicSetting from "../components/BasicSetting";
 
 export default {
-  name: 'settings',
+  name: "settings",
   components: {
-    BasicSetting
+    BasicSetting,
   },
   data() {
     return {
       activeName: "basic",
       buttonAuthority: sessionStorage.getItem("buttonAuthoritys") || [],
-      loginName: JSON.parse(sessionStorage.getItem("userInfo")).username || "鐢ㄦ埛鍚�"
-    }
+      loginName:
+        JSON.parse(sessionStorage.getItem("userInfo")).username || "鐢ㄦ埛鍚�",
+    };
   },
   computed: {
     isAdmin() {
@@ -29,7 +30,7 @@
         return loginName === "superadmin" || loginName === "basic";
       }
       return false;
-    }
+    },
   },
   methods: {
     isShow(authority) {
@@ -43,18 +44,18 @@
     },
   },
   created() {
-    if (this.isShow('videoSystem:base')) {
-      this.activeName = "basic"
-    } else if (this.isShow('videoSystem:permission')) {
-      this.activeName = "user"
-    } else if (this.isShow('videoSystem:broadcast')) {
-      this.activeName = "radio"
-    } else if (this.isShow('videoSystem:eventPush')) {
-      this.activeName = "event"
-    } else if (this.isShow('videoSystem:logManage')) {
-      this.activeName = "log"
-    } else if (this.isShow('videoSystem:sysManage')) {
-      this.activeName = "system"
+    if (this.isShow("videoSystem:base")) {
+      this.activeName = "basic";
+    } else if (this.isShow("videoSystem:permission")) {
+      this.activeName = "user";
+    } else if (this.isShow("videoSystem:broadcast")) {
+      this.activeName = "radio";
+    } else if (this.isShow("videoSystem:eventPush")) {
+      this.activeName = "event";
+    } else if (this.isShow("videoSystem:logManage")) {
+      this.activeName = "log";
+    } else if (this.isShow("videoSystem:sysManage")) {
+      this.activeName = "system";
     }
   },
 };

--
Gitblit v1.8.0