小程序API 交互 在局域网怎样测试开发?

发布于 5 年前作者 qiangcao5849 次浏览最后编辑 5 年前来自 issues

错误提示   http://localhost:2840 不在以下 request 合法域名列表中

2 回复
gshen
gshen1 楼5 年前

楼上老哥说的对,另外要在小程序端开启debug模式

lifu
lifu2 楼8 个月前

localhost 什么时候成局域网了? 关闭https校验就行了