From 35d970a1eb4e880bb05ef075f747dd084a2de9ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Sat, 22 Jan 2022 10:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BD=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=90=BD=E5=9C=B0=E9=A1=B5=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=BC=A0=E5=8F=82=E9=97=AE=E9=A2=98=E5=92=8C=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95=E8=BE=93=E5=85=A5=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/add/step2.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/plan/add/step2.js b/src/pages/plan/add/step2.js index 4b9db6db..833f1a4d 100644 --- a/src/pages/plan/add/step2.js +++ b/src/pages/plan/add/step2.js @@ -124,9 +124,11 @@ export default class acclist extends React.Component{ console.log("key样式",data.style) if(data.style == 6) { - sessionStorage.setItem("white",1) } + else{ + sessionStorage.setItem("white",0) + } return data; } @@ -986,7 +988,7 @@ export default class acclist extends React.Component{ this.setState({model:model2}) }} - value={this.state.model.quantity} disabled={this.state.model.style == 5} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/> + value={this.state.model.quantity} disabled={this.state.model.style == 6} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/>