Commit 878ede42 authored by limeimei's avatar limeimei

2

parent c160cb72
Pipeline #1944 canceled with stages
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
var that = this; var that = this;
that.timer = setInterval(() => { that.timer = setInterval(() => {
that.time--; that.time--;
console.log(123) // console.log(123)
// 计算进度百分比 // 计算进度百分比
that.percentage = (that.time / 120) * 100; that.percentage = (that.time / 120) * 100;
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
// 返回主页 // 返回主页
gohome() { gohome() {
console.log(234)
clearInterval(this.timer); clearInterval(this.timer);
this.$router.replace({ this.$router.replace({
name: "visitor", name: "visitor",
......
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