xuqiang-97 4 жил өмнө
parent
commit
3bc463c08c

+ 2 - 5
src/components/CardCase.vue

@@ -158,11 +158,9 @@ export default {
                         wx.showToast({
                             icon: 'none',
                             title: '该卡箱需要两个卡包组选择数量一样',
-                            duration: 5000
+                            duration: 4000
                         });
-                        // this.toast('该卡箱需要两个卡包组选择数量一样');
-                        console.log('====');
-                        return Promise.reject();
+                        return Promise.reject('提示');
                     } else {
                         return Promise.resolve();
                     }
@@ -175,7 +173,6 @@ export default {
                     }
                 })
                 .catch(e => {
-                    wx.hideLoading();
                     if (e.error) {
                         wx.showToast({
                             icon: 'none',