feat:登出清空数据

This commit is contained in:
houjunxiang
2025-12-01 10:54:45 +08:00
parent 1bcfde72ee
commit 298503fec8
3 changed files with 6 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ import callCheckUpdate from '@/nx/utils/check-update'
const loading = ref(false)
const captchaEnable = true
let loginInfo = reactive({
username: 'admin',
username: 'ytjySjfx1',
password: 'P@ssword25',
captchaVerification: ''
})
@@ -132,6 +132,9 @@ function onCaptchaError(error) {
})
loading.value = false
}
onLoad(() => {
nx.$store('user').clearUserInfo()
})
</script>
<style lang="scss" scoped>