From 2a209dbdb62d7b08ab8b2faeceb683df3bd3e140 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 13 Jul 2023 11:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8A=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/redPackets/index.jsx | 43 ++++++++++++++++------------- src/components/redPackets/rules.js | 2 +- 2 files changed, 25 insertions(+), 20 deletions(-) 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: [