From 1ed138eb0eb52ee6172dd8d844939b5ca1e394e3 Mon Sep 17 00:00:00 2001 From: "yang.yongquan" <3395816735@qq.com> Date: Thu, 5 Jan 2023 19:52:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9submitCheck=E4=BA=86=3D=3D?= =?UTF-8?q?=E4=B8=BA=3D=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/reimbursement/mine/ReimbursementCreate.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/reimbursement/mine/ReimbursementCreate.tsx b/src/pages/reimbursement/mine/ReimbursementCreate.tsx index 0ff526a..d27361a 100644 --- a/src/pages/reimbursement/mine/ReimbursementCreate.tsx +++ b/src/pages/reimbursement/mine/ReimbursementCreate.tsx @@ -136,13 +136,13 @@ class ReimbursementCreate extends React.Component { submitCheck = () => { let msgContent:string = "" - if(this.state.departureName == "" ) { + if(this.state.departureName === "" ) { msgContent = "未填写出发地" - } else if(this.state.destinationName == "") { + } else if(this.state.destinationName === "") { msgContent = "未填写目的地" - } else if(this.state.departureInvoice == null) { + } else if(this.state.departureInvoice === null) { msgContent = "未上传出发票据" - } else if(this.state.selectedDepartment == null) { + } else if(this.state.selectedDepartment === null) { msgContent = "未选择报销部门" } else { return {ok: true, msg: ""}