代码拉取完成,页面将自动刷新
handleLogin () {
if (this.passwd != this.lockPasswd) {
this.passwd = "";
this.passwdError = true;
setTimeout(() => {
this.passwdError = false;
}, 1000);
return;
}
this.pass = true;
setTimeout(() => {
this.$store.commit("CLEAR_LOCK");
this.$router.push({
path: this.tag.value
});
}, 1000);
}
this.tag.value拿到的是undefined,改为this.tag.path解决