fix: attachment reporting error while opening preview modal in table (#3318)

* fix: attachment report error while opening preview modal

* fix: attachment report error while opening preview modal
This commit is contained in:
katherinehhh 2024-01-04 17:35:16 +08:00 committed by GitHub
parent 0b1eb36152
commit 5f55f4d8db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
import DownloadOutlined from '@ant-design/icons/DownloadOutlined'; import { DownloadOutlined } from '@ant-design/icons';
import { Field } from '@formily/core'; import { Field } from '@formily/core';
import { useField } from '@formily/react'; import { useField } from '@formily/react';
import { isString } from '@nocobase/utils/client'; import { isString } from '@nocobase/utils/client';
@ -39,7 +39,6 @@ ReadPretty.File = function File(props: UploadProps) {
function closeIFrameModal() { function closeIFrameModal() {
setVisible(false); setVisible(false);
} }
return wrapSSR( return wrapSSR(
<div> <div>
<div <div