修复验证码验证bug

This commit is contained in:
xiangheng
2024-06-11 20:26:20 +08:00
parent 02c50af424
commit b45b3654c1
10 changed files with 151 additions and 220 deletions

View File

@@ -10,7 +10,7 @@ import Components from 'unplugin-vue-components/vite'
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
import viteCompression from 'vite-plugin-compression'
// import { visualizer } from 'rollup-plugin-visualizer'
import { visualizer } from 'rollup-plugin-visualizer'
// https://vitejs.dev/config/
export default ({ mode }) => {
@@ -62,17 +62,17 @@ export default ({ mode }) => {
}),
viteCompression({
algorithm: 'gzip'
})
}),
// viteCompression({
// algorithm: 'brotliCompress'
// })
// visualizer({
// gzipSize: true,
// brotliSize: true,
// emitFile: false,
// filename: 'test.html', //分析图生成的文件名
// open: true //如果存在本地服务端口,将在打包后自动展示
// })
visualizer({
gzipSize: true,
brotliSize: true,
emitFile: false,
filename: 'test.html', //分析图生成的文件名
open: true
})
],
resolve: {
alias: {