mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-26 08:45:08 +08:00
fix: 封装 SpuSelect SpuAndSkuList 为商品活动商品选择商品编辑通用组件
This commit is contained in:
13
src/views/mall/promotion/components/index.ts
Normal file
13
src/views/mall/promotion/components/index.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import SpuSelect from './SpuSelect.vue'
|
||||
import SpuAndSkuList from './SpuAndSkuList.vue'
|
||||
import { Properties } from '@/views/mall/product/spu/components'
|
||||
|
||||
type SpuProperty<T> = {
|
||||
spuId: number
|
||||
spuDetail: T
|
||||
propertyList: Properties[]
|
||||
}
|
||||
/**
|
||||
* 提供商品活动商品选择通用组件
|
||||
*/
|
||||
export { SpuSelect, SpuAndSkuList, SpuProperty }
|
Reference in New Issue
Block a user