跟新
This commit is contained in:
@@ -503,7 +503,7 @@ const handlePreview = async (file: any) => {
|
||||
const ext = fileName.split('.').pop()?.toLowerCase() || '';
|
||||
|
||||
// 判断是否是图片
|
||||
const imageExts = ['png', 'jpg', 'jpeg', 'gif', 'bmp', 'webp'];
|
||||
const imageExts = ['png', 'jpg', 'jpeg'];
|
||||
// 判断是否是PDF
|
||||
const isPdf = ext === 'pdf';
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,6 @@
|
||||
v-model="visible"
|
||||
:title="dialogTitle"
|
||||
width="90%"
|
||||
:style="{ maxWidth: '1600px' }"
|
||||
:close-on-click-modal="false"
|
||||
destroy-on-close
|
||||
class="form-iframe-dialog"
|
||||
|
||||
Reference in New Issue
Block a user