Browse Source

bug修改

喻文俊 3 năm trước cách đây
mục cha
commit
a9f64ad875
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      pages/fight-order/fight-share-entry.vue

+ 7 - 7
pages/fight-order/fight-share-entry.vue

@@ -238,13 +238,13 @@ export default {
             }).then(res => {
                 this.collageData = res.data
                 // 拼团已完成
-                // if (this.collageData.status === 2) {
-                //     this.$util.msg('拼团已结束')
-                //     setTimeout(() => {
-                //         uni.switchTab({ url: '/pages/tabBar/index/index' })
-                //     }, 2000)
-                //     return
-                // }
+                if (this.collageData.status === 2) {
+                    this.$util.msg('拼团已结束')
+                    setTimeout(() => {
+                        uni.switchTab({ url: '/pages/tabBar/index/index' })
+                    }, 2000)
+                    return
+                }
                 // 拼团未完成
                 this.countDown()
                 this.isRequest = false