Просмотр исходного кода

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan 3 лет назад
Родитель
Сommit
33efb5df86
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/views/product/Detail.vue

+ 3 - 1
src/views/product/Detail.vue

@@ -978,7 +978,9 @@ export default {
                             this.dayjs(),
                             'Millisecond'
                         );
-                        this.timer();
+                        if(res.hasSubscribe){
+                            this.timer();
+                        }
                     } else if (res.subscribeStatus == 'ONGOING') {
                         this.millisecond = this.dayjs(res.endTime, 'YYYY-MM-DD HH:mm:ss').diff(
                             this.dayjs(),