Ver código fonte

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

zengzhixiang 2 anos atrás
pai
commit
871551d550
2 arquivos alterados com 4 adições e 4 exclusões
  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');
+        $.toast('复制成功', 'text', 1000);
       } else {
-        $.toast(result.msg, 'text');
+        $.toast(result.msg, 'text', 1000);
       }
       return;
     }

+ 2 - 2
static/screenIos/WXdraw.js

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