From 7374453a1fc7c696a111a6c53e9a0beba3e2056e Mon Sep 17 00:00:00 2001 From: meepown <358988891@qq.com> Date: Mon, 29 May 2023 11:51:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=B8=E5=90=8Cpath?= =?UTF-8?q?=E4=B8=8D=E5=90=8Cquery=E6=97=B6(=E4=B8=8D=E5=90=8Cfullpath),?= =?UTF-8?q?=20=E7=82=B9=E5=87=BB=E5=88=87=E6=8D=A2tab,=20=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=88=B7=E6=96=B0=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit router-view 默认对同一个path但不同query不会刷新, 需要加上 :key="$router.currentRoute.fullPath" --- src/components/layouts/TabLayout.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue index 4249c190..f349b37e 100644 --- a/src/components/layouts/TabLayout.vue +++ b/src/components/layouts/TabLayout.vue @@ -21,10 +21,10 @@
- +