Skip to content

Commit 6dc8831

Browse files
committed
refactor: 优化退出登录后刷新页面
--bug=1049954 --user=王孝刚 【系统设置】退出登录后登录页面刷新两次,需优化 https://www.tapd.cn/57709429/s/1624834
1 parent d314e49 commit 6dc8831

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ui/src/views/login/index.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,6 @@ onMounted(() => {
252252
}
253253
})
254254
})
255-
onBeforeMount(() => {
256-
if (user.isEnterprise()) {
257-
user.theme(loading)
258-
}
259-
})
260255
</script>
261256
<style lang="scss" scope>
262257
.login-gradient-divider {

0 commit comments

Comments
 (0)