This commit is contained in:
X1627315083
2025-11-24 17:27:34 +08:00
parent 87e4038b55
commit 4f3d90d904

View File

@@ -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) {