From 4751ef8cb97705cd85b29adc81e3a542d16a4371 Mon Sep 17 00:00:00 2001 From: PDieE <23275429@qq.com> Date: Tue, 6 Sep 2022 13:02:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=BD=93=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=A4=9A=E4=B8=AA=E6=A0=87=E7=AD=BE=E5=90=8E=20?= =?UTF-8?q?=E9=80=80=E5=87=BA=E4=BC=9A=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#293)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 示例增加 suspense 代码解决打开多个标签后退出会报错的问题 * fix: 注释 --- src/layouts/components/Content.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/layouts/components/Content.vue b/src/layouts/components/Content.vue index 615b023..eff4439 100644 --- a/src/layouts/components/Content.vue +++ b/src/layouts/components/Content.vue @@ -12,8 +12,11 @@ import { computed, ComputedRef } from 'vue'; import { useTabsRouterStore } from '@/store'; +// 标签属于实验性功能,请谨慎使用 // 如果存在需解决/page/1=> /page/2 刷新数据问题 请修改代码 使用activeRouteFullPath 作为key -// +// +// +// // import { useRouter } from 'vue-router'; // const activeRouteFullPath = computed(() => {