You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 飞滴-乘客端
## 环境
node 16.15.1
## 运行
1、cd 到项目跟目录
2、安装依赖: npm install
3、运行 h5 端: npm run dev:h5
## 修改请求前缀(服务端地址)
### APP 或模拟器时
1、双击登录页的“飞滴出行, 一路畅行” 进入设置页
2、点击首页的设置进入设置页
### 运行 h5 端时
1、找到根目录 vite.config.js
```js
...
// 浏览器本地开发代理配置
proxy : {
"/api" : {
target : "http://192.168.40.193:8081" ,
changeOrigin : true ,
rewrite : ( path ) => path . replace ( /^\/api/ , "/" )
},
"/sseApi" : {
target : "http://192.168.40.193:60001" ,
changeOrigin : true ,
rewrite : ( path ) => path . replace ( /^\/sseApi/ , "/" )
},
"/payApi" : {
target : "http://192.168.40.193:9001" ,
changeOrigin : true ,
rewrite : ( path ) => path . replace ( /^\/payApi/ , "/" )
},
},
...
```