v3.0.0 重磅更新

This commit is contained in:
zhuoda
2024-01-15 21:52:57 +08:00
parent 3740077b1f
commit 09b0179b66
1129 changed files with 15686 additions and 65762 deletions
@@ -9,23 +9,23 @@
*
-->
<template>
<div class="container">
<a-image
class="img-prev"
:style="{ display: 'none' }"
:preview="{
visible,
onVisibleChange: setVisible,
}"
:src="previewUrl"
/>
</div>
<div class="container">
<a-image
class="img-prev"
:style="{ display: 'none' }"
:preview="{
visible,
onVisibleChange: setVisible,
}"
:src="previewUrl"
/>
</div>
</template>
<script setup>
import { ref } from 'vue';
import { download } from '/@/lib/axios';
import { fileApi } from '/@/api/support/file/file-api';
import { getDownload } from '/@/lib/axios';
import { fileApi } from '/src/api/support/file-api';
import { smartSentry } from '/@/lib/smart-sentry';
import { SmartLoading } from '/@/components/framework/smart-loading';
@@ -62,7 +62,7 @@
setVisible(true);
return;
}
download(fileItem.fileName, fileItem.fileUrl);
window.open(fileItem.fileUrl);
}
// 判断图片类型