Skip to content

Commit

Permalink
fix: 审批王附件类型字段只读时,如果没有可预览类型字段,则所有附件未能正常显示
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Dec 23, 2024
1 parent 98cb69b commit 6b61e6c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: [email protected]
* @Date: 2022-12-26 18:07:37
* @LastEditors: [email protected]
* @LastEditTime: 2024-11-14 10:50:14
* @LastEditTime: 2024-12-23 17:34:22
* @Description:
*/
import "./AmisSteedosField.less";
Expand Down Expand Up @@ -559,9 +559,9 @@ export const AmisSteedosField = async (props) => {
hasImageOrFile = true;
}
})
if (!hasImageOrFile) {
return fieldSchema;
}
// if (!hasImageOrFile) {
// return fieldSchema;
// }
let fieldHtml = "";
forEach(fieldValue, (item) => {
const fileName = item.name;
Expand Down

0 comments on commit 6b61e6c

Please sign in to comment.