diff --git a/yudao-ui-admin/src/views/tool/codegen/index.vue b/yudao-ui-admin/src/views/tool/codegen/index.vue index 4beb7d1fe..cce55e9a0 100644 --- a/yudao-ui-admin/src/views/tool/codegen/index.vue +++ b/yudao-ui-admin/src/views/tool/codegen/index.vue @@ -69,6 +69,7 @@ + 复制
@@ -245,6 +246,10 @@ export default { const result = hljs.highlight(language, item.code || "", true); return result.value || ' '; }, + /** 复制代码成功 */ + clipboardSuccess(){ + this.$modal.msgSuccess("复制成功"); + }, /** 生成 files 目录 **/ handleFiles(datas) { let exists = {}; // key:file 的 id;value:true