This commit is contained in:
zhangyichen
2022-04-14 09:49:50 +08:00
parent eaf137859e
commit dfea113a58
+2 -2
View File
@@ -40,10 +40,10 @@ export default {
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
this.loading.close();
});
this.$router.go(-1)
this.$router.push('login')
this.$message.error(res.message)
} else {
this.$router.go(-1)
this.$router.push('login')
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
this.loading.close();
});