Pārlūkot izejas kodu

feat(云机剪贴板): 修复复制成功提示

zengzhixiang 2 gadi atpakaļ
vecāks
revīzija
15f86bc95f
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 2 2
      static/screenAndroid/WXdraw.js
  2. 2 2
      static/screenIos/WXdraw.js

+ 2 - 2
static/screenAndroid/WXdraw.js

@@ -107,9 +107,9 @@ function doConnectDirectives() {
 
     if (result.type === 'cutting') {
       if (result.data.status === 0) {
-        $.toast('复制成功', 'text', 1000);
+        $.toast('复制成功', 'text');
       } else {
-        $.toast(result.msg, 'text', 1000);
+        $.toast(result.msg, 'text');
       }
       return;
     }

+ 2 - 2
static/screenIos/WXdraw.js

@@ -115,9 +115,9 @@ function doConnectDirectives() {
 
     if (result.type === 'cutting') {
       if (result.data.status === 0) {
-        $.toast('复制成功', 'text', 1000);
+        $.toast('复制成功', 'text');
       } else {
-        $.toast(result.msg, 'text', 1000);
+        $.toast(result.msg, 'text');
       }
       return;
     }