添加 设备登记 页面
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user