From a44e9bc42d7b047b613104ebacf1ef643bae9243 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Sat, 12 Oct 2024 16:53:44 +0800
Subject: [PATCH] 复制图标优化

---
 src/views/device/addDevice.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/device/addDevice.vue b/src/views/device/addDevice.vue
index 430cdeb..7d34424 100644
--- a/src/views/device/addDevice.vue
+++ b/src/views/device/addDevice.vue
@@ -7,8 +7,8 @@
             @refresh-change="refreshChange" @on-load="onLoad" @tree-load="treeLoad">
 
             <template #menu="scope">
-                <el-button type="primary" text icon="el-icon-plus" @click.stop="copyInfo(scope.row, scope.index)"
-                    v-if="userInfo.role_name.includes('admin')">复制信息
+                <el-button type="primary" text icon="el-icon-copy-document" @click.stop="copyInfo(scope.row, scope.index)"
+                    v-if="userInfo.role_name.includes('admin')">复制
                 </el-button>
             </template>
         </avue-crud>
@@ -61,6 +61,7 @@
             },
             selectionList: [],
             option: {
+                menuWidth: 300,
                 lazy: true,
                 tree: true,
                 height: '460',

--
Gitblit v1.9.3