From a891e50e25f1b2b60d4c1e132ae9ff165e9834b0 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期一, 29 一月 2024 09:09:54 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复

---
 Source/UBCS-WEB/src/views/tool/model.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/tool/model.vue b/Source/UBCS-WEB/src/views/tool/model.vue
index 0c0db08..67dc52c 100644
--- a/Source/UBCS-WEB/src/views/tool/model.vue
+++ b/Source/UBCS-WEB/src/views/tool/model.vue
@@ -141,9 +141,9 @@
     ...mapGetters(["permission"]),
     permissionList() {
       return {
-        addBtn: true,
-        delBtn: true,
-        editBtn: true,
+        addBtn: this.vaildData(this.permissionList.tool_model.model_add,false),
+        delBtn: this.vaildData(this.permissionList.tool_model.model_delete,false),
+        editBtn: this.vaildData(this.permissionList.tool_model.model_edit,false),
         viewBtn: false
       };
     },

--
Gitblit v1.9.3