feat:登出清空数据
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user