Explorar o código

充值逻辑调整 首页样式提取至页面层

Zhengxiaowei %!s(int64=5) %!d(string=hai) anos
pai
achega
0617230ee4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/Pay/index.ux

+ 2 - 1
src/views/Pay/index.ux

@@ -176,7 +176,8 @@ export default {
         }
       ],
       success: (data) => {
-        data.index === 0 && this.checkOrder(order);
+        if (data.index === 0) this.checkOrder(order);
+        else this.showToastByCode("6004");
       },
       cancel: () => {
         console.log("cancel");