From a08c28e50923ac6f10611e938e37e972d5d72943 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 19 六月 2022 12:27:30 +0800 Subject: [PATCH] 图片上传限制limit隐藏增加按钮 --- src/views/tool/gen/index.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index d37e0bb..8487547 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -163,6 +163,7 @@ :name="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))" :key="key" > + <el-link :underline="false" icon="DocumentCopy" v-copyText="value" v-copyText:callback="copyTextSuccess" style="float:right"> 澶嶅埗</el-link> <pre>{{ value }}</pre> </el-tab-pane> </el-tabs> @@ -274,6 +275,10 @@ preview.value.activeName = "domain.java"; }); } +/** 澶嶅埗浠g爜鎴愬姛 */ +function copyTextSuccess() { + proxy.$modal.msgSuccess("澶嶅埗鎴愬姛"); +} // 澶氶�夋閫変腑鏁版嵁 function handleSelectionChange(selection) { ids.value = selection.map(item => item.tableId); -- Gitblit v1.9.3