💊 fix: 修复bug
This commit is contained in:
parent
89ea250910
commit
2a209dbdb6
|
@ -591,8 +591,11 @@ export default class addKnockGold extends Component {
|
|||
alignment={"left"}
|
||||
/>
|
||||
</FormItem>
|
||||
{this.state.model.channel !== 3 && (
|
||||
<FormItem labelname="祝福语" prop="wishing" id="wishing">
|
||||
<FormItem
|
||||
labelname={this.state.model.channel === 3 ? "发放备注" : "祝福语"}
|
||||
prop="wishing"
|
||||
id="wishing"
|
||||
>
|
||||
<Ipt
|
||||
onChange={(value) => {
|
||||
this.onHandleChange(value, "wishing")
|
||||
|
@ -609,7 +612,9 @@ export default class addKnockGold extends Component {
|
|||
alignment={"left"}
|
||||
/>
|
||||
</FormItem>
|
||||
)}
|
||||
{/* {this.state.model.channel !== 3 && (
|
||||
|
||||
)} */}
|
||||
</Form>
|
||||
</Card>
|
||||
<Card style={{ width: "70%", margin: "10px 0" }} title={"发放规则"}>
|
||||
|
|
|
@ -11,7 +11,7 @@ const regObj = {
|
|||
export default {
|
||||
basic: {
|
||||
batch_goods_name: [{ type: "required", message: "请输入批次商品名称" }],
|
||||
wishing: [{ type: "required", message: "请输入红包祝福语" }]
|
||||
wishing: [{ type: "required", message: "请输入" }]
|
||||
},
|
||||
grant: {
|
||||
num: [
|
||||
|
|
Loading…
Reference in New Issue