fix: 修复 spu 详情查看错误,同步 mall seckill 组件 name 配置方式

This commit is contained in:
puhui999
2023-06-25 09:35:20 +08:00
parent 5d613e69b3
commit 76ccc54a35
6 changed files with 20 additions and 30 deletions

View File

@ -110,7 +110,7 @@
</Dialog>
</template>
<script lang="ts" name="SeckillActivitySpuAndSkuSelect" setup>
<script lang="ts" setup>
import { getPropertyList, Properties, SkuList } from '@/views/mall/product/spu/components'
import { ElTable } from 'element-plus'
import { dateFormatter } from '@/utils/formatTime'
@ -122,6 +122,8 @@ import * as ProductCategoryApi from '@/api/mall/product/category'
import * as ProductSpuApi from '@/api/mall/product/spu'
import { propTypes } from '@/utils/propTypes'
defineOptions({ name: 'PromotionSpuAndSkuSelect' })
const props = defineProps({
// 默认不需要(不需要的情况下只返回 spu需要的情况下返回 选中的 spu 和 sku 列表)
// 其它活动需要选择商品和商品属性导入此组件即可,需添加组件属性 :isSelectSku='true'