review:【antd/ele】【mall】代码迁移的 review
This commit is contained in:
@@ -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="优惠内容"
|
||||
|
||||
Reference in New Issue
Block a user