From eca5924030894adc81661f0784b87a95fe702d2f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 22 六月 2026 16:19:38 +0800
Subject: [PATCH] 新疆马铃薯 1.删除按钮添加操作权限
---
src/views/basicData/product/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index b05b215..cdf9a96 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -56,7 +56,7 @@
type="danger"
link
:disabled="isTopLevelNode(data, node)"
- @click="remove(node, data)">
+ @click="remove(node, data)" v-hasPermi="['basicData:product:remove']">
鍒犻櫎
</el-button>
</div>
@@ -77,7 +77,7 @@
<el-button type="danger"
@click="handleDelete"
style="margin-left: 10px"
- plain>
+ plain v-hasPermi="['basicData:product:remove']">
鍒犻櫎
</el-button>
</div>
--
Gitblit v1.9.3