Browse Source

fix[litemall-wx]: 显示错误信息

Junling Bu 6 years ago
parent
commit
be05ce32fc
1 changed files with 1 additions and 3 deletions
  1. 1 3
      litemall-wx/pages/checkout/checkout.js

+ 1 - 3
litemall-wx/pages/checkout/checkout.js

@@ -199,9 +199,7 @@ Page({
         });
         });
 
 
       } else {
       } else {
-        wx.redirectTo({
-          url: '/pages/payResult/payResult?status=0&orderId=' + orderId
-        });
+        util.showErrorToast(res.errmsg);
       }
       }
     });
     });
   }
   }