@@ -318,7 +318,7 @@
this.$toast.clear();
if (res.status === 0) {
//此处为点击的dom的类名
- this.code = res.data[0].code;
+ this.code = res.data;
console.log(this.code);
try {
@@ -329,6 +329,7 @@
document.execCommand('Copy') // 执行浏览器复制命令
input.style.display = 'none'
input.remove()
+ console.log(this.code);
this.$dialog.alert({
message: '复制成功'
});