From f4a434e49ceac95b44504258e91819a55ef444e8 Mon Sep 17 00:00:00 2001 From: significative <163999932+significative@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:31:31 +0800 Subject: [PATCH] id --- .../main-home/components/matchEvaluation/components/MCh.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue b/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue index eec58f6e..4e3e115a 100644 --- a/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue +++ b/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue @@ -86,9 +86,9 @@ function pagChange(page: number, pageSizeP: number) { getData(route.query.id as string) } -watch(() => route.params.columnId, () => { - if (route.query.id == '1') return - getData(route.params.columnId as string) +watch(() => route.query.id, (newVal:string) => { + if (newVal == '1') return + getData(newVal as string) }, { immediate: true })