review:【antd/ele】【mall】代码迁移的 review
parent
271923999c
commit
6a8f60957d
|
|
@ -224,9 +224,8 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
formItemClass: 'items-start',
|
||||
rules: 'required',
|
||||
},
|
||||
// 隐藏字段:用于自动同步 productScopeValues
|
||||
{
|
||||
fieldName: 'productScopeValues',
|
||||
fieldName: 'productScopeValues', // 隐藏字段:用于自动同步 productScopeValues
|
||||
component: 'Input',
|
||||
dependencies: {
|
||||
triggerFields: ['productScope', 'productSpuIds', 'productCategoryIds'],
|
||||
|
|
|
|||
|
|
@ -138,12 +138,10 @@ const [Modal, modalApi] = useVbenModal({
|
|||
<template #rules>
|
||||
<RewardRule v-model="formData" />
|
||||
</template>
|
||||
|
||||
<!-- 自定义插槽:商品选择 -->
|
||||
<template #productSpuIds>
|
||||
<SpuShowcase v-model="formData.productSpuIds" />
|
||||
</template>
|
||||
|
||||
<!-- 自定义插槽:分类选择 -->
|
||||
<template #productCategoryIds>
|
||||
<ProductCategorySelect v-model="formData.productCategoryIds" multiple />
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ function handleDelete(ruleIndex: number) {
|
|||
<span>{{ isPriceCondition ? '元' : '件' }}</span>
|
||||
</div>
|
||||
</FormItem>
|
||||
|
||||
<!-- 优惠内容 -->
|
||||
<FormItem
|
||||
label="优惠内容"
|
||||
|
|
|
|||
Loading…
Reference in New Issue