添加 设备登记 页面

This commit is contained in:
GGJ
2024-01-17 14:29:31 +08:00
parent 694b5b181d
commit 0f7722b69e
5 changed files with 460 additions and 28 deletions

View File

@@ -46,7 +46,6 @@
round
type="info"
@click="onSubmit(formRef)"
>
登录
</el-button>
@@ -113,7 +112,6 @@ const focusInput = () => {
}
onMounted(() => {
timer = window.setTimeout(() => {
pageBubble.init()
}, 0)
@@ -139,8 +137,10 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
imageCode: '',
verifyCode: 0
}).then(res => {
console.log('🚀 ~ file: login.vue:134 ~ gongkey ~ res:', res)
// console.log('🚀 ~ file: login.vue:134 ~ gongkey ~ res:', res)
let DOMIN = window.location.origin
let STATIC_URL = DOMIN + '/api/system-boot/image/toStream?bgImage='
localStorage.setItem('STATIC_URL', STATIC_URL)
userInfo.setToken(res.data.token_type + ' ' + res.data.access_token, 'auth')
state.submitLoading = false
router.push({