Skip to content

Commit eb165a3

Browse files
authored
Merge pull request #126 from qnnp-me/main
fix(account): 修改密码后刷新页面以重新登录
2 parents 3bdd0df + 4316468 commit eb165a3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/plugin/admin/app/view/account/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@
146146
if (res.code) {
147147
return layui.popup.failure(res.msg);
148148
}
149+
setTimeout(()=>{
150+
top.location.reload();
151+
}, 2000)
149152
return layui.popup.success("操作成功");
150153
}
151154
});

0 commit comments

Comments
 (0)