浏览代码

静态页面

1002884655 4 年前
父节点
当前提交
e4830a7892

+ 2
- 1
src/pages/index/DaLeTouDingDan/index.vue 查看文件

@@ -283,7 +283,8 @@ export default {
283 283
           this.$router.push({ name: 'DingDanZhiFuZhuangTai', query: { orderId: res.data.data.orderId, bettingId: res.data.data.bettingId, routerName: 'DaLeTou' } })
284 284
         })
285 285
       }).catch((res) => {
286
-        this.Toast(res.data.message)
286
+        done()
287
+        this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
287 288
         this.DataLock = false
288 289
         if (res.data.code - 0 === 1003) {
289 290
           this.$router.push({ name: 'ChongZhi' })

+ 2
- 1
src/pages/index/LanQiuDingDan/index.vue 查看文件

@@ -284,7 +284,8 @@ export default {
284 284
           this.$router.push({ name: 'DingDanZhiFuZhuangTai', query: { orderId: res.data.data.orderId, bettingId: res.data.data.bettingId, routerName: 'LanQiu' } })
285 285
         })
286 286
       }).catch((res) => {
287
-        this.Toast(res.data.message)
287
+        done()
288
+        this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
288 289
         this.DataLock = false
289 290
         if (res.data.code - 0 === 1003) {
290 291
           this.$router.push({ name: 'ChongZhi' })

+ 2
- 1
src/pages/index/PaiLie3DingDan/index.vue 查看文件

@@ -338,7 +338,8 @@ export default {
338 338
           this.$router.push({ name: 'DingDanZhiFuZhuangTai', query: { orderId: res.data.data.orderId, bettingId: res.data.data.bettingId, routerName: 'PaiLie3' } })
339 339
         })
340 340
       }).catch((res) => {
341
-        this.Toast(res.data.message)
341
+        done()
342
+        this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
342 343
         this.DataLock = false
343 344
         if (res.data.code - 0 === 1003) {
344 345
           this.$router.push({ name: 'ChongZhi' })

+ 2
- 1
src/pages/index/PaiLie5DingDan/index.vue 查看文件

@@ -314,7 +314,8 @@ export default {
314 314
           this.$router.push({ name: 'DingDanZhiFuZhuangTai', query: { orderId: res.data.data.orderId, bettingId: res.data.data.bettingId, routerName: 'PaiLie5' } })
315 315
         })
316 316
       }).catch((res) => {
317
-        this.Toast(res.data.message)
317
+        done()
318
+        this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
318 319
         this.DataLock = false
319 320
         if (res.data.code - 0 === 1003) {
320 321
           this.$router.push({ name: 'ChongZhi' })

+ 2
- 1
src/pages/index/ShuangSeQiuDingDan/index.vue 查看文件

@@ -272,7 +272,8 @@ export default {
272 272
           this.$router.push({ name: 'DingDanZhiFuZhuangTai', query: { orderId: res.data.data.orderId, bettingId: res.data.data.bettingId, routerName: 'ShuangSeQiu' } })
273 273
         })
274 274
       }).catch((res) => {
275
-        this.Toast(res.data.message)
275
+        done()
276
+        this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
276 277
         this.DataLock = false
277 278
         if (res.data.code - 0 === 1003) {
278 279
           this.$router.push({ name: 'ChongZhi' })

+ 2
- 1
src/pages/index/ZuQiuDingDan/index.vue 查看文件

@@ -284,7 +284,8 @@ export default {
284 284
           this.$router.push({ name: 'DingDanZhiFuZhuangTai', query: { orderId: res.data.data.orderId, bettingId: res.data.data.bettingId, routerName: 'ZuQiu' } })
285 285
         })
286 286
       }).catch((res) => {
287
-        this.Toast(res.data.message)
287
+        done()
288
+        this.Toast(res.data.message || `未知错误,错误代码:${res.data.code}`)
288 289
         this.DataLock = false
289 290
         if (res.data.code - 0 === 1003) {
290 291
           this.$router.push({ name: 'ChongZhi' })