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