forked from Gitlink/forgeplus-react
上传委托协议文件重置
This commit is contained in:
parent
79bf752d7b
commit
f2ce66fa01
|
@ -7,9 +7,10 @@ function Uploads({ className, size, actionUrl, fileList, showNotification, load
|
||||||
const [files, setFiles] = useState(undefined);
|
const [files, setFiles] = useState(undefined);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (fileList) {
|
// if (fileList) {
|
||||||
|
// init();
|
||||||
|
// }
|
||||||
init();
|
init();
|
||||||
}
|
|
||||||
}, [fileList]);
|
}, [fileList]);
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|
|
@ -19,7 +19,6 @@ for (const item of taskStatusAllArr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ({ location, history, current_user, showNotification }) => {
|
export default ({ location, history, current_user, showNotification }) => {
|
||||||
console.log(current_user);
|
|
||||||
let defaultValue = decodeURI(location.search.split("=")[1] || "");
|
let defaultValue = decodeURI(location.search.split("=")[1] || "");
|
||||||
|
|
||||||
const [identity, setIdentity] = useState('1');
|
const [identity, setIdentity] = useState('1');
|
||||||
|
|
Loading…
Reference in New Issue