修复提现弹窗关闭定时器未重置问题
This commit is contained in:
parent
d57365fa68
commit
35eaae83dc
|
|
@ -939,9 +939,10 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
reset() {
|
||||
console.log("reset");
|
||||
this.msg = "";
|
||||
this.timer = null;
|
||||
cleartimeout(this.timer);
|
||||
clearInterval(this.timer);
|
||||
this.msgTime = 60;
|
||||
},
|
||||
sendMsg() {
|
||||
|
|
@ -971,7 +972,7 @@ export default {
|
|||
}, 1000);
|
||||
} else {
|
||||
this.$message({
|
||||
message: "发送失败",
|
||||
message: res.data.msg|| "发送失败",
|
||||
type: "error",
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue