fix
This commit is contained in:
@@ -576,10 +576,10 @@ export default defineComponent({
|
||||
() => route.query,
|
||||
(query, oldQuery) => {
|
||||
nextTick(async () => {
|
||||
// if ((route.params?.id || query?.history) && !(await getIdExistToHistory())) {
|
||||
// router.push('/home')
|
||||
// return
|
||||
// }
|
||||
if ((route.params?.id || query?.history) && !(await getIdExistToHistory())) {
|
||||
router.push('/home')
|
||||
return
|
||||
}
|
||||
const key = Object.keys(query)?.[0]
|
||||
if (key) {
|
||||
if (route.params?.id && !query.tools) {
|
||||
|
||||
Reference in New Issue
Block a user