Commit a3a35044 authored by Sixiang_Zzb's avatar Sixiang_Zzb

用户模块批量上传权限修复

parent 6af05207
import React, { useState, useEffect } from 'react';
import styles from './index.less';
import { Spin, message, Upload, Button, Table, Space } from 'antd';
import { message, Upload, Button, Table, Space } from 'antd';
import { UploadOutlined, LoadingOutlined } from '@ant-design/icons';
import { useIntl, connect, history } from 'umi';
......@@ -9,7 +9,7 @@ import { useIntl, connect, history } from 'umi';
import TitleSearch from '../../../components/TitleSearch/TitleSearch';
import { timestampToTime } from '../../../utils/time';
import { RA, getCookie, URL, filterObjbyTg, urlEncode, filterObj } from '@/utils/method';
import { RA, URL, filterObjbyTg, urlEncode, filterObj } from '@/utils/method';
const module = 'User';
const module2 = 'History';
......@@ -129,6 +129,7 @@ const Users = (props: any) => {
}
},
showUploadList: false,
disabled: permissionArr.indexOf('4') < 0 ? true : false,
};
// 监听路由变化更新数据
......
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