|
@@ -73,7 +73,7 @@ export default defineComponent({
|
|
|
const token = getAuth()
|
|
|
let userType = ''
|
|
|
let str = ''
|
|
|
- let nowPath = route.path;
|
|
|
+ let nowPath = route.fullPath;
|
|
|
|
|
|
if (states.userType == 'TEACHER') {
|
|
|
userType = 'STUDENT'
|
|
@@ -99,7 +99,7 @@ export default defineComponent({
|
|
|
loginUserType: userType
|
|
|
})
|
|
|
)
|
|
|
- router.push({ path: nowPath })
|
|
|
+ router.push({ path: nowPath,query:{...route.query} })
|
|
|
setTimeout(()=>{
|
|
|
window.location.reload()
|
|
|
},500)
|