【功能优化】MALL:商品新增时,增加 keepalive 缓存

This commit is contained in:
YunaiV committed 2024-07-28 19:29:14 +08:00
1 parent 36b5db16dd
commit df8b1fbc0d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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',
+1 -1
View File
@@ -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() // 消息弹窗