From df8b1fbc0de57e556d03fba2ab7f82619ca239d3 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 28 Jul 2024 19:29:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91MALL=EF=BC=9A=E5=95=86=E5=93=81=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=A2=9E=E5=8A=A0=20keepalive=20=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 2 +- src/views/mall/product/spu/form/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index db23bb1f..380e48aa 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -361,7 +361,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/mall/product/spu/form/index.vue'), name: 'ProductSpuAdd', meta: { - noCache: true, + noCache: false, // 需要缓存 hidden: true, canTo: true, icon: 'ep:edit', diff --git a/src/views/mall/product/spu/form/index.vue b/src/views/mall/product/spu/form/index.vue index de874524..c4e4b7b2 100644 --- a/src/views/mall/product/spu/form/index.vue +++ b/src/views/mall/product/spu/form/index.vue @@ -63,7 +63,7 @@ import SkuForm from './SkuForm.vue' import DeliveryForm from './DeliveryForm.vue' import { convertToInteger, floatToFixed2, formatToFraction } from '@/utils' -defineOptions({ name: 'ProductSpuForm' }) +defineOptions({ name: 'ProductSpuAdd' }) const { t } = useI18n() // 国际化 const message = useMessage() // 消息弹窗