Commit 79bd68ac authored by 张子雨's avatar 张子雨

feat: 去掉重复提示信息

parent b28c7ec1
......@@ -116,7 +116,6 @@ const DepartmentModal = ({ visible, onClose, enterpriseList }) => {
label="上传文件"
name="file"
rules={[
{ required: true, message: '请上传文件' },
{
// eslint-disable-next-line no-confusing-arrow
validator: (_, value) =>
......
......@@ -123,7 +123,6 @@ const NewEmployeeModal = props => {
label="上传文件"
name="file"
rules={[
{ required: true, message: '请上传文件' },
{
// eslint-disable-next-line no-confusing-arrow
validator: (_, value) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment