fix: can not change user's power in admin console

This commit is contained in:
RockYang
2024-03-25 11:40:03 +08:00
parent 491471fa10
commit 870706c4ff
8 changed files with 64 additions and 13 deletions

View File

@@ -107,7 +107,7 @@ const hits = ref(0)
const regNum = ref(0)
const rate = ref(0)
const isLogin = ref(false)
const showLoginDialog = ref(true)
const showLoginDialog = ref(false)
onMounted(() => {
initData()
@@ -152,6 +152,7 @@ const initData = () => {
ElMessage.error("获取系统配置失败:" + e.message)
})
}).catch(() => {
showLoginDialog.value = true
});
}
</script>