feat: 登录页面联调

This commit is contained in:
王天骄
2026-06-01 14:49:14 +08:00
parent 873c3e98fb
commit 3fa96ba8bc
5 changed files with 323 additions and 184 deletions
+15
View File
@@ -0,0 +1,15 @@
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
export default defineConfig({
plugins: [uni()],
server: {
proxy: {
'/backend-api': {
target: 'http://192.168.2.76:8000',
changeOrigin: true,
rewrite: path => path.replace(/^\/backend-api/, '/api')
}
}
}
})