环境变量修改为VITE前缀

This commit is contained in:
2026-04-28 16:49:13 +08:00
parent bcc09d7064
commit 042c1e54ed
7 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import store from '@/store'
import { router } from '@/router'
const http = axios.create({
baseURL: import.meta.env.VUE_APP_API_BASE,
baseURL: import.meta.env.VITE_APP_API_BASE,
timeout: 10000,
paramsSerializer: {
indexes: null