fix: 修复文件编码问题,确保导入语句格式正确

This commit is contained in:
2026-03-12 10:37:07 +08:00
parent bf15918136
commit 8cbe01dd9c
10 changed files with 111 additions and 142 deletions

View File

@@ -1,11 +1,10 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 从 package.json 注入版本号,便于前端展示
// 从 package.json 注入版本号,供前端设置页展示
// eslint-disable-next-line no-undef
const appVersion = (process && process.env && process.env.npm_package_version) || '0.0.0'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
define: {