修复代码预览复制内容问题(I5E3P1)

master
RuoYi 2 years ago
parent 163d6727b4
commit 1def54572a
  1. 2
      src/views/tool/gen/index.vue

@ -161,7 +161,7 @@
v-for="(value, key) in preview.data" v-for="(value, key) in preview.data"
:label="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))" :label="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))"
:name="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))" :name="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))"
:key="key" :key="value"
> >
<el-link :underline="false" icon="DocumentCopy" v-copyText="value" v-copyText:callback="copyTextSuccess" style="float:right">&nbsp;</el-link> <el-link :underline="false" icon="DocumentCopy" v-copyText="value" v-copyText:callback="copyTextSuccess" style="float:right">&nbsp;</el-link>
<pre>{{ value }}</pre> <pre>{{ value }}</pre>

Loading…
Cancel
Save