fix: 🐛 存在滚动条时退出系统弹框页面抖动问题修复

This commit is contained in:
skyselang
2024-01-16 11:59:04 +08:00
parent 6230caae8c
commit 60fa756189

View File

@@ -70,7 +70,9 @@ function logout() {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
lockScroll: false,
})
.then(() => {
userStore
.logout()
.then(() => {
@@ -79,7 +81,8 @@ function logout() {
.then(() => {
router.push(`/login?redirect=${route.fullPath}`);
});
});
})
.catch(() => {});
}
</script>
<style lang="scss" scoped>