From 7517a3ca0737113d2926dff516474e46a6ed52f5 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 26 Jul 2022 16:41:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=8B=E5=87=8F=E9=87=91=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=20=E5=9B=9E=E6=98=BE=E6=A0=B7=E5=BC=8F=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index efad648b..bc309a1d 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -133,11 +133,11 @@ export default class addKnockGold extends Component { /* 可用时间段 添加和删除组件控制*/ addOrMoveFunction(index, key, valueKey, isLimit, err) { + if (this.props?.data?.id ? true : false) return return ( <> {index === valueKey.length - 1 ? (

{ if (isLimit || valueKey.length < 3) { @@ -153,7 +153,6 @@ export default class addKnockGold extends Component { ) : null} {index !== 0 ? (

{ const model = valueKey @@ -1169,7 +1168,10 @@ export default class addKnockGold extends Component { onChange={(va) => this.onHandleChange(va, 'ruleWeek')} style={{ marginLeft: '25px' }}> {week.map((week) => ( - + {week.text} ))}