Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit a0fc986

Browse files
committed
修复 重置密码反复弹出问题
1 parent 3851498 commit a0fc986

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/UserInit.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<div class="sub-title">
2929
<div class="sub-title-title require-field">重置最高级别账号密码</div>
3030
<div class="sub-title-info">
31-
为确保面板安全,第一次登录必须重设密码,密码必须由大写字母,小写字母和数字组成,长度为
32-
12 到 36 位
31+
为确保面板安全,第一次登录必须重设密码,密码必须由大写字母,小写字母和数字组成,长度为 9
32+
到 36 位
3333
</div>
3434
<div class="row-mt">
3535
<el-input
@@ -87,6 +87,7 @@ export default {
8787
});
8888
this.$message({ message: "已设置密码,欢迎使用", type: "success" });
8989
this.$emit("update:visible", false);
90+
location.reload();
9091
} catch (error) {
9192
this.$message({
9293
message: error,

0 commit comments

Comments
 (0)