|
@@ -318,7 +318,7 @@ const Material = forwardRef(({ onAddFolder, onUpdateFolder, onDelFolder }: Props
|
|
|
{batchType === 'file' && <Popconfirm
|
|
|
title="确定删除?"
|
|
|
onConfirm={() => {
|
|
|
- const hide = message.loading('正在删除...', 0, () => {});
|
|
|
+ const hide = message.loading('正在删除...', 0, () => { });
|
|
|
deleteBatch.run(checkedFolderList).then(res => {
|
|
|
hide()
|
|
|
if (res) {
|
|
@@ -414,12 +414,14 @@ const Material = forwardRef(({ onAddFolder, onUpdateFolder, onDelFolder }: Props
|
|
|
</div>}
|
|
|
onClick={() => { setDetailsData({ visible: true, data: item }) }}
|
|
|
>
|
|
|
- <div className={style.body}>
|
|
|
+ <div className={style.body} style={{ paddingBottom: 0 }}>
|
|
|
<div className={style.title}><Text ellipsis>{item?.materialName}</Text></div>
|
|
|
<a className={style.detailBt}>详情</a>
|
|
|
</div>
|
|
|
<div className={style.actions}>
|
|
|
- <div style={{ height: 22 }}></div>
|
|
|
+ <div style={{ height: 20, width: 100, flex: '1 0' }}>
|
|
|
+ <Text ellipsis={{ tooltip: true }} style={{ fontSize: 11 }}>{item?.description}</Text>
|
|
|
+ </div>
|
|
|
{isPermission(item.createBy) ? <Dropdown
|
|
|
menu={{
|
|
|
items: getItemsFile(item)
|