浏览代码

修改bug

huangxiaojing 2 年之前
父节点
当前提交
e72944e864
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/activity/rentNo/index.vue

+ 2 - 2
pages/activity/rentNo/index.vue

@@ -92,8 +92,8 @@ export default {
         });
       }
     },
-    async copy(item) {
-      await this.$native.clipboard.writeText(item.activationCode);
+    async copy(code) {
+      await this.$native.clipboard.writeText(code);
       this.$toast.success('复制成功');
     }
   }