官网开发 0804

This commit is contained in:
eafonyang
2026-08-04 19:18:35 +08:00
parent f37b6451ef
commit 816281bf2d
31 changed files with 1177 additions and 543 deletions
+4 -2
View File
@@ -6,10 +6,12 @@ export default defineNuxtConfig({
css: ['~/assets/css/main.css'],
// 运行时配置:NUXT_PUBLIC_API_BASE_URL 环境变量可覆盖
// 运行时配置:NUXT_PUBLIC_API_BASE_URL / NUXT_PUBLIC_ASSET_BASE_URL 环境变量可覆盖
runtimeConfig: {
public: {
apiBaseUrl: 'http://localhost:8083/api'
apiBaseUrl: 'http://localhost:8083/api',
// 素材静态服务地址(用于解析 /uploads/... 相对路径),为空时默认取 apiBaseUrl 的 origin
assetBaseUrl: ''
}
},