Explorar el Código

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

zengzhixiang hace 2 años
padre
commit
15f86bc95f
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  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;
     }