feat(背景设置): 实现背景图片上传及设置功能- 新增背景设置路由和文件上传功能- 添加静态文件服务支持- 前端实现背景设置保存和加载逻辑- 配置vite代理以支持上传文件访问

This commit is contained in:
zhang1106
2025-12-20 17:43:50 +08:00
parent 9f12001fd9
commit 130b2ad5f7
6 changed files with 175 additions and 25 deletions
+4
View File
@@ -10,6 +10,10 @@ export default defineConfig({
'/api': {
target: 'http://localhost:8000',
changeOrigin: true
},
'/uploads': {
target: 'http://localhost:8000',
changeOrigin: true
}
}
},