瀏覽代碼

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

zengzhixiang 2 年之前
父節點
當前提交
871551d550
共有 2 個文件被更改,包括 4 次插入4 次删除
  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;
     }