From b826ed55c3d0265dc7db50c933819b20e2e66cc8 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 02 九月 2024 12:08:57 +0800
Subject: [PATCH] 登录修改密码优化

---
 src/components/RightToolbar/index.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue
index 8a1b609..35563f4 100644
--- a/src/components/RightToolbar/index.vue
+++ b/src/components/RightToolbar/index.vue
@@ -115,7 +115,9 @@
     }
   },
   created() {
-    this.getDyColumn()
+    if (this.$route.path.concat("equipment")) {
+      this.getDyColumn()
+    }
     if (this.showColumnsType == 'transfer') {
       // 鏄鹃殣鍒楀垵濮嬮粯璁ら殣钘忓垪
       for (let item in this.columns) {
@@ -127,15 +129,13 @@
   },
   methods: {
     getDyColumn() {
-      if (this.$route.path.concat("equipment")) {
-        // 鏌ヨ鍔ㄦ�佸垪
-        let params = {
-          tableName: 't_monitor'
-        }
-        getDynamicColumnList(params).then(res => {
-          this.dynamicColumnList = res.data
-        })
+      // 鏌ヨ鍔ㄦ�佸垪
+      let params = {
+        tableName: 't_monitor'
       }
+      getDynamicColumnList(params).then(res => {
+        this.dynamicColumnList = res.data
+      })
     },
     addDynamicColumn() {
       this.showDynamicColumn = true

--
Gitblit v1.8.0