From c4d687aacfb4e7b6ee5ce67df93cf2f8d8df80c1 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期日, 26 十一月 2023 14:05:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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