uniapp跨域
一级标题
uniapp跨域 方法一
// 配置文件manifest.json
"h5": {
"router": {
"base": "./",
"mode": "hash"
}
//跨域
"devServer": {
"https": false,
"port": 8080,
"disableHostCheck": true
,
"proxy": {
//多个跨越更改 复制下面更改名字(api)
"/api": {
原创
2022-04-19 03:51:17 ·
3898 阅读 ·
0 评论