Browse Source

(*)培训资源库:优化添加文件夹界面不重载

master
周沫沫历险记 2 years ago
parent
commit
e5104796c8
  1. 1
      web/client/src/sections/humanAffairs/containers/resourceRepository.jsx

1
web/client/src/sections/humanAffairs/containers/resourceRepository.jsx

@ -109,6 +109,7 @@ const ResourceRepository = (props) => {
getFile(e, { limit: 10, page: 0 }, { restSearch: true });
}
const handleDataToSave = (add, body) => {
setDefaultExpandedKey([]);
if (add) {
dispatch(postResourceClassify(body)).then(res => {
if (res.success) {

Loading…
Cancel
Save