|
@@ -238,13 +238,13 @@ export default {
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.collageData = res.data
|
|
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.countDown()
|
|
this.isRequest = false
|
|
this.isRequest = false
|