yinshi
yinshi
  • 发布:2018-12-12 10:35
  • 更新:2022-10-28 13:53
  • 阅读:32095

uni-app 编译到浏览器提示 Please enable JavaScript to continue.

分类:uni-app

请问是什么原因

2018-12-12 10:35 负责人:无 分享
已邀请:
AAl

AAl

http://ask.dcloud.net.cn/question/64034

1***@qq.com

1***@qq.com

怎么解决的 求

8***@qq.com

8***@qq.com

请问解决了吗

h***@163.com

h***@163.com - 80后IT男

Please enable JavaScript to continue.

你们是怎么解决的,完全找不到解决方法哇,都让是浏览器封了js,我试了所有浏览器,都一样,总不可能一个浏览器一个浏览器来调整呢

tike

tike

我的是因为请求的地址错了,没有请求到指定的服务器地址。

玻璃门

玻璃门

2022年了。这个问题还是没解决

DCloud_UNI_GSQ

DCloud_UNI_GSQ

虽然并不是同一个“问题”,但是此贴应该可以给予一些参考和启发:https://ask.dcloud.net.cn/question/127147

m***@126.com

m***@126.com

h5": {  
"devServer": {  
"port": 8080,  
"disableHostCheck": true,  
"proxy": {  
"/api": {  
"target": "http://www.xxx.com",  
"changeOrigin": true,  
"secure": false,  
"pathRewrite":{"^/api":""}  
}  
}  
}  

重新指向"pathRewrite":{"^/api":""}你指向请求的url

要回复问题请先登录注册