diff --git a/src/components/redPackets/index.jsx b/src/components/redPackets/index.jsx index b361c175..8f9c519d 100644 --- a/src/components/redPackets/index.jsx +++ b/src/components/redPackets/index.jsx @@ -591,25 +591,30 @@ export default class addKnockGold extends Component { alignment={"left"} /> - {this.state.model.channel !== 3 && ( - - { - this.onHandleChange(value, "wishing") - }} - onClearItem={() => { - this.onHandleChange("", "wishing") - }} - value={this.state.model.wishing} - placeholder={"请输入"} - labelWidth={"0px"} - maxLength={32} - height={"36px"} - width={"520px"} - alignment={"left"} - /> - - )} + + { + this.onHandleChange(value, "wishing") + }} + onClearItem={() => { + this.onHandleChange("", "wishing") + }} + value={this.state.model.wishing} + placeholder={"请输入"} + labelWidth={"0px"} + maxLength={32} + height={"36px"} + width={"520px"} + alignment={"left"} + /> + + {/* {this.state.model.channel !== 3 && ( + + )} */} diff --git a/src/components/redPackets/rules.js b/src/components/redPackets/rules.js index 7d5f74f5..91ae70eb 100644 --- a/src/components/redPackets/rules.js +++ b/src/components/redPackets/rules.js @@ -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: [