diff --git a/src/frontend/src/App.vue b/src/frontend/src/App.vue index 3f96272d45..86298d30e7 100644 --- a/src/frontend/src/App.vue +++ b/src/frontend/src/App.vue @@ -235,8 +235,13 @@ * @desc 退出登录 */ handleLogout () { - EventBus.$emit('logout'); - LogoutService.logout(); + this.$bkInfo({ + title: '确认退出登录?', + confirmFn: () => { + EventBus.$emit('logout'); + LogoutService.logout(); + }, + }); }, }, };