From a48bd04b2616e7fc2d95062ece5c840edb1d59c4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期日, 29 五月 2022 10:28:00 +0800
Subject: [PATCH] 升级unplugin-auto-import到最新版本0.8.5
---
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