|
@@ -11,7 +11,7 @@ const route = useRoute()
|
|
|
const store = userInfoStore()
|
|
|
const CurrentRole = userCurrentRole()
|
|
|
const name = ref('')
|
|
|
-const isShow = ref(false)
|
|
|
+const isShow = ref(true)
|
|
|
const setTimeState = ref(null)
|
|
|
|
|
|
onMounted(() => {
|
|
@@ -41,11 +41,11 @@ onMounted(() => {
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
- // linkLogin()
|
|
|
+ linkLogin()
|
|
|
}
|
|
|
})
|
|
|
}else if(ticket){
|
|
|
- axios.get(`https://pbl.cocorobo.cn/api/bat/getToken?ticket=${ticket}`)
|
|
|
+ axios.get('https://pbl.cocorobo.cn/api/bat/getToken', { ticket: ticket })
|
|
|
.then(r => {
|
|
|
if (r.status === 200 && r.data.data && r.data.data.result) {
|
|
|
console.log(r.data.data.result)
|
|
@@ -54,7 +54,7 @@ onMounted(() => {
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
- // linkLogin()
|
|
|
+ linkLogin()
|
|
|
}
|
|
|
})
|
|
|
|