Commit 75eedcc9 authored by jyx's avatar jyx

代码优化

parent b48f9363
...@@ -45,6 +45,8 @@ ...@@ -45,6 +45,8 @@
let that = this; let that = this;
var countDownSeconds = 3 var countDownSeconds = 3
that.countDown = countDownSeconds
const timer = setInterval(() => { const timer = setInterval(() => {
if (countDownSeconds > 0) { if (countDownSeconds > 0) {
that.countDown = countDownSeconds that.countDown = countDownSeconds
......
...@@ -444,9 +444,6 @@ ...@@ -444,9 +444,6 @@
this.isqp = e.detail.show this.isqp = e.detail.show
}, },
collect(vedioId, index) { collect(vedioId, index) {
this.showAdPop = true
return
this.data.collect = 1 this.data.collect = 1
// 收藏 // 收藏
this.post({ this.post({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment