Skip to content

Commit a011e11

Browse files
committed
🎨 登录后刷新当前页面
1 parent a453705 commit a011e11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/common/loginModal/loginModal.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default {
5656
if (res.token) {
5757
this.ctx.$utils.setAuthInfo(this.ctx, res)
5858
this.resolve()
59+
location.reload()
5960
this.hideModal()
6061
} else {
6162
this.$message.error('登录失败,请重试')

0 commit comments

Comments
 (0)