From 54fb6e8bc72dd4a12a9c99062c09dcad9b5d64ae Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 24 Feb 2019 21:14:57 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=B8=8A=E7=BA=A7=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=94=BE=E5=BC=80=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/System/Dept/DeptAdd.js | 6 ------ src/pages/System/Dept/DeptEdit.js | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/pages/System/Dept/DeptAdd.js b/src/pages/System/Dept/DeptAdd.js index c419285..be782d6 100644 --- a/src/pages/System/Dept/DeptAdd.js +++ b/src/pages/System/Dept/DeptAdd.js @@ -109,12 +109,6 @@ class DeptAdd extends PureComponent { {getFieldDecorator('parentId', { - rules: [ - { - required: true, - message: '请选择上级部门', - }, - ], initialValue: detail.id, })( {getFieldDecorator('parentId', { - rules: [ - { - required: true, - message: '请选择上级部门', - }, - ], initialValue: detail.parentId, })(