提交 fadd7404 authored 作者: huaxinzhu's avatar huaxinzhu

入驻,倒计时提示优化

上级 0125a233
...@@ -432,6 +432,7 @@ ...@@ -432,6 +432,7 @@
}else { }else {
this.isReadFailVisible = true; this.isReadFailVisible = true;
this.readTime = 5; this.readTime = 5;
clearInterval(this.TIMER);
this.TIMER = setInterval(() => { this.TIMER = setInterval(() => {
if (this.readTime && 0 < this.readTime <= 5 ) { if (this.readTime && 0 < this.readTime <= 5 ) {
this.readTime-- this.readTime--
...@@ -475,6 +476,7 @@ ...@@ -475,6 +476,7 @@
} catch (e) { } catch (e) {
this.isReadFailVisible = true; this.isReadFailVisible = true;
this.readTime = 5; this.readTime = 5;
clearInterval(this.TIMER);
this.TIMER = setInterval(() => { this.TIMER = setInterval(() => {
if (this.readTime && 0 < this.readTime <= 5 ) { if (this.readTime && 0 < this.readTime <= 5 ) {
this.readTime-- this.readTime--
...@@ -489,6 +491,7 @@ ...@@ -489,6 +491,7 @@
}else { }else {
this.isReadFailVisible = true; this.isReadFailVisible = true;
this.readTime = 5; this.readTime = 5;
clearInterval(this.TIMER);
this.TIMER = setInterval(() => { this.TIMER = setInterval(() => {
if (this.readTime && 0 < this.readTime <= 5 ) { if (this.readTime && 0 < this.readTime <= 5 ) {
this.readTime-- this.readTime--
...@@ -555,6 +558,7 @@ ...@@ -555,6 +558,7 @@
}else { }else {
this.isReadFailVisible = true; this.isReadFailVisible = true;
this.readTime = 5; this.readTime = 5;
clearInterval(this.TIMER);
this.TIMER = setInterval(() => { this.TIMER = setInterval(() => {
if (this.readTime && 0 < this.readTime <= 5 ) { if (this.readTime && 0 < this.readTime <= 5 ) {
this.readTime-- this.readTime--
...@@ -567,6 +571,7 @@ ...@@ -567,6 +571,7 @@
}else { }else {
this.isReadFailVisible = true; this.isReadFailVisible = true;
this.readTime = 5; this.readTime = 5;
clearInterval(this.TIMER);
this.TIMER = setInterval(() => { this.TIMER = setInterval(() => {
if (this.readTime && 0 < this.readTime <= 5 ) { if (this.readTime && 0 < this.readTime <= 5 ) {
this.readTime-- this.readTime--
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论