Переглянути джерело

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;
     }