上传委托协议文件重置

This commit is contained in:
谢思 2022-04-11 14:16:41 +08:00
parent 79bf752d7b
commit f2ce66fa01
2 changed files with 4 additions and 4 deletions

View File

@ -7,9 +7,10 @@ function Uploads({ className, size, actionUrl, fileList, showNotification, load
const [files, setFiles] = useState(undefined);
useEffect(() => {
if (fileList) {
init();
}
// if (fileList) {
// init();
// }
init();
}, [fileList]);
function init() {

View File

@ -19,7 +19,6 @@ for (const item of taskStatusAllArr) {
}
export default ({ location, history, current_user, showNotification }) => {
console.log(current_user);
let defaultValue = decodeURI(location.search.split("=")[1] || "");
const [identity, setIdentity] = useState('1');