diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index d1854534..a4d6e893 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -107,7 +107,7 @@ export default class addKnockGold extends Component { receive_mode: 1, is_webview: 0, timer_show: 1, - instructionNotice: noticeZFB + notice: noticeZFB }, subjectList: [], TimeDiffer: "", @@ -140,7 +140,7 @@ export default class addKnockGold extends Component { model.entry_time[1] = this.props.data.time_limit.effect_time.end_time model.timer_show = Number(this.props.data.time_limit.timer_show) || 1 model.instruction = this.props.data.instruction - model.instructionNotice = this.props.data.instructionNotice + model.notice = this.props.data.notice model.fixed_time[0] = this.props.data.time_limit.use_time.fiexd_time?.start_time model.fixed_time[1] = this.props.data.time_limit.use_time.fiexd_time?.end_time @@ -511,7 +511,7 @@ export default class addKnockGold extends Component { transformData.natural_limit = this.state.model.natural_limit transformData.brush_limit = this.state.model.brush_limit transformData.instruction = this.state.model.instruction - transformData.instructionNotice = this.state.model.instructionNotice + transformData.notice = this.state.model.notice transformData.early_per = this.state.model.early_per.filter((item) => item) transformData.early_notifier = this.state.model.early_notifier.map(({ text, key }) => ({ real_name: text, @@ -798,10 +798,10 @@ export default class addKnockGold extends Component { if (value == 1) { this.onHandleChange(defaultInstructionZfb, "instruction") if (this.state.model.receive_mode == 1) { - this.onHandleChange(noticeZFB, "instructionNotice") + this.onHandleChange(noticeZFB, "notice") } } else if (value == 2) { - this.onHandleChange(noticeWX, "instructionNotice") + this.onHandleChange(noticeWX, "notice") this.onHandleChange(defaultInstructionWx, "instruction") } else { this.onHandleChange(defaultInstructionYsf, "instruction") @@ -1612,15 +1612,15 @@ export default class addKnockGold extends Component {
{this.state.model.channel == 2 || (this.state.model.channel == 1 && this.state.model.receive_mode == 1) ? ( - + { - this.onHandleChange(text, "instructionNotice") + this.onHandleChange(text, "notice") }} height={125} width="520px" - text={this.state.model.instructionNotice} + text={this.state.model.notice} limitLength={200} key={this.state.model.channel + 1} />