fix : 文件表格高度, 组织机构管理
This commit is contained in:
@@ -77,6 +77,7 @@ const tagsViewStore = useTagsView()
|
||||
const userInfo = ref({})
|
||||
const visitedP = ref(false)
|
||||
const accountList = ref([])
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
onMounted(() => {
|
||||
setUserInfo()
|
||||
@@ -113,8 +114,12 @@ const accountChange = (userId) => {
|
||||
visitedP.value = !visitedP.value
|
||||
authStore.userLogout()
|
||||
setToken(res.data)
|
||||
router.push('/')
|
||||
console.log('router',route)
|
||||
if(route.path!=='/'){
|
||||
|
||||
}
|
||||
location.reload()
|
||||
// router.push('/home')
|
||||
visitedP.value = false
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user