鸿蒙js报{"code":200,"data":"requestdataerror"}1.确认后端的json数据没有问题2.配置config.json"reqPermissions":[{"name":"ohos.permission.INTERNET","reason":"网络http请求"}在module中添加internet权限{"app":{"vendor":"example","bundleName":"cyou.guadou.movie","version":{"code":1000000,"name":"1.0.0"}},"deviceConfig":{"default":{"network":{"cleartextTraffic":true}}},"module":{"reqPermissions":[{"name"...
2024-01-08 10:43:26 4758浏览 0点赞 1回复 0收藏