From e9bb50dcb395c160adb7f89f2f0972d9bdce3f3c Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期二, 29 八月 2023 17:56:17 +0800 Subject: [PATCH] 修改宽度 --- src/views/spare/modules/sparePart/SparePart2List.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/spare/modules/sparePart/SparePart2List.vue b/src/views/spare/modules/sparePart/SparePart2List.vue index 9fd59c3..f18402c 100644 --- a/src/views/spare/modules/sparePart/SparePart2List.vue +++ b/src/views/spare/modules/sparePart/SparePart2List.vue @@ -61,6 +61,7 @@ <a-button @click="handleAdd" type="primary" + v-has="'sparePartList:add'" icon="plus" :hidden="disabled" >鏂板</a-button> @@ -74,7 +75,7 @@ 鎵归噺鎿嶄綔 <a-icon type="down" /> </a-button> - <a-menu slot="overlay"> + <a-menu slot="overlay" > <a-menu-item @click="batchDel"> <a-icon type="delete" />鍒犻櫎 </a-menu-item> @@ -103,6 +104,7 @@ > <a href="javascript:;" + v-has="'sparePartList:edit'" @click="handleEdit(record)" >缂栬緫</a> <a-divider type="vertical" /> @@ -111,11 +113,11 @@ 鏇村 <a-icon type="down" /> </a> - <a-menu slot="overlay"> + <a-menu slot="overlay" v-has="'sparePartList:delete'"> <!-- <a-menu-item> <a @click="handleEdit(record)">缂栬緫</a> </a-menu-item> --> - <a-menu-item> + <a-menu-item > <a-popconfirm title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)" -- Gitblit v1.9.3