|
@@ -450,7 +450,7 @@ export class LiveService {
|
|
|
}, 1000);
|
|
|
}
|
|
|
async get_duration() {
|
|
|
- this.timer_countdown && clearInterval(this.timer_countdown);
|
|
|
+ // this.timer_countdown && clearInterval(this.timer_countdown);
|
|
|
let url = 'https://server.fmode.cn/api/ailiao/remain_second';
|
|
|
let params = {
|
|
|
rid: this.room?.id,
|
|
@@ -473,7 +473,7 @@ export class LiveService {
|
|
|
this.timer_countdown = setInterval(() => {
|
|
|
if (this.countdown > 0) {
|
|
|
this.countdown--;
|
|
|
- // console.log(this.countdown);
|
|
|
+ console.log(this.countdown);
|
|
|
} else {
|
|
|
clearInterval(this.timer_countdown);
|
|
|
// history.back()
|