登录后跳转默认页修改

后端请求ip修改
This commit is contained in:
xiaowang
2026-02-24 16:08:41 +08:00
parent faee2d4e0c
commit b18b7a03ff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ const handleSubmit = async () => {
sessionStorage.setItem('accessToken', loginData.accessToken)
message.success('登录成功')
router.push('/products')
router.push('/')
} else {
await authApi.register({
account: formData.account,
+1 -1
View File
@@ -42,7 +42,7 @@ export default defineConfig({
host: true,
proxy: {
'/api': {
target: 'http://localhost:8088', // 代理到 Gateway
target: 'http://wcy111.top:8088', // 代理到 Gateway
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},