diff --git a/.fes.js b/.fes.js index d5e7ecb8..21bf58d0 100644 --- a/.fes.js +++ b/.fes.js @@ -72,6 +72,7 @@ export default defineBuildConfig({ }), ], build: { + target: 'esnext', // 或者 'es2020' 以支持 BigInt chunkSizeWarningLimit: 1000, // 单位为KB rollupOptions: { output: { diff --git a/src/components/forPreview/oneImageQr.vue b/src/components/forPreview/oneImageQr.vue index 7d8720c3..0e435f3e 100644 --- a/src/components/forPreview/oneImageQr.vue +++ b/src/components/forPreview/oneImageQr.vue @@ -70,7 +70,7 @@ function sanitizeFilename(filename: string) { return sanitized } let hasPreview = true -let comUrl = 'https://opensource.icegl.cn/#/plugins/' +let comUrl = 'https://oss.icegl.cn/#/plugins/' let imgName = '' if (props.onePreview.url) { comUrl = props.onePreview.url