shaogen1995 1 месяц назад
Родитель
Сommit
e9a18add19

+ 1 - 0
src/components/ZupTypes/index.tsx

@@ -30,6 +30,7 @@ export type FileListType = {
   // ----------
   remark: string
   state: boolean
+  disPlay: boolean
 }
 
 type Props = {

+ 1 - 1
src/pages/A3goods/A3add/index.tsx

@@ -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='请上传封面图'

+ 3 - 1
src/pages/B1audit/B1btn/index.tsx

@@ -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: '类型',