Commit df8b1fbc by YunaiV

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

parent 36b5db16
...@@ -361,7 +361,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ ...@@ -361,7 +361,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
component: () => import('@/views/mall/product/spu/form/index.vue'), component: () => import('@/views/mall/product/spu/form/index.vue'),
name: 'ProductSpuAdd', name: 'ProductSpuAdd',
meta: { meta: {
noCache: true, noCache: false, // 需要缓存
hidden: true, hidden: true,
canTo: true, canTo: true,
icon: 'ep:edit', icon: 'ep:edit',
......
...@@ -63,7 +63,7 @@ import SkuForm from './SkuForm.vue' ...@@ -63,7 +63,7 @@ import SkuForm from './SkuForm.vue'
import DeliveryForm from './DeliveryForm.vue' import DeliveryForm from './DeliveryForm.vue'
import { convertToInteger, floatToFixed2, formatToFraction } from '@/utils' import { convertToInteger, floatToFixed2, formatToFraction } from '@/utils'
defineOptions({ name: 'ProductSpuForm' }) defineOptions({ name: 'ProductSpuAdd' })
const { t } = useI18n() // 国际化 const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗 const message = useMessage() // 消息弹窗
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment