Explorar el Código

feat: 屏幕toast提示

Damon hace 11 meses
padre
commit
4b6eb9e826
Se han modificado 1 ficheros con 12 adiciones y 12 borrados
  1. 12 12
      src/pages/pay/index.vue

+ 12 - 12
src/pages/pay/index.vue

@@ -229,20 +229,20 @@ export default {
             this.msgType = "success";
             this.$refs.alertDialog.open();
           } else {
-            uni.showToast({
-              title: res.data.msg,
-              icon: "none",
-              mask: true,
-              duration: 4000,
-            });
+            // uni.showToast({
+            //   title: res.data.msg,
+            //   icon: "none",
+            //   mask: true,
+            //   duration: 4000,
+            // });
           }
         } else {
-          uni.showToast({
-            title: res.message,
-            icon: "none",
-            mask: true,
-            duration: 4000,
-          });
+          // uni.showToast({
+          //   title: res.message,
+          //   icon: "none",
+          //   mask: true,
+          //   duration: 4000,
+          // });
         }
       });
     },