@@ -30,6 +30,7 @@ export type FileListType = {
// ----------
remark: string
state: boolean
+ disPlay: boolean
}
type Props = {
@@ -152,7 +152,7 @@ function A3add({ txt, _id, closeFu, addTableFu, editTableFu }: Props) {
ref={ZupThumbRef}
isLook={txt === '查看'}
fileCheck={fileCheck}
- myUrl='file/upload?upPath=A2video'
+ myUrl='file/upload?upPath=A3goods'
format={['image/jpeg', 'image/png']}
formatTxt='png、jpg和jpeg'
checkTxt='请上传封面图'
@@ -52,7 +52,9 @@ function B1btn({ sId, isLook, closeFu, upTableFu }: Props) {
return [
{
title: '文件名',
- render: (item: FileListType) => item.originalName || '(空)'
+ render: (item: FileListType) =>
+ (item.originalName || '(空)') +
+ (isLook ? (item.disPlay ? '' : ' - 已在素材库中被删除') : '')
},
title: '类型',