소스 검색

修改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('复制成功');
     }
   }