Browse Source

(fixed)7538 删除文件提示显示优化

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

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

@ -59,9 +59,11 @@ const ResourceRepository = (props) => {
<a href={'/_file-server/' + record.attachPath + '?filename=' + encodeURIComponent(record.fileName + record.fileType)}>下载</a>
{currentSelect.includes("公司培训资料") &&
<Popconfirm
style={{ minWidth: "max-content" }}
title="提示"
content="确认删除该文件?"
onConfirm={() => { handleDelFile(record.id) }}
position={"leftBottom"}
>
<a style={{ cursor: 'pointer' }}>删除</a>
</Popconfirm>}

2
web/client/src/sections/humanAffairs/style.less

@ -30,6 +30,7 @@
-webkit-transition: opacity 0.2s;
}
}
.semi-tree-option-list-block .semi-tree-option {
.tree-icon {
padding-left: 6px;
@ -56,7 +57,6 @@
font-size: 14px;
}
}
// .semi-input-wrapper {
// margin-bottom: 20px;
// }

Loading…
Cancel
Save