鸿蒙js开发模式3 鸿蒙js开发模式下的fetch网络请求数据
原创
效果图:1、配置网络访问权限{"app":{"bundleName":"com.example.hmjs","vendor":"example","version":{"code":1,"name":"1.0"},"apiVersion":{"compatible":3,"target":4,"releaseType":"Beta1"}},"deviceConfig":{"default":{"network":{"usesCleartext":true,"securityConfig":{"domainSettings":{"cleartextPermitted":true,"domains":[{"subDomains":true,"name":"api.seniverse.com"}]}}}}},"module":{"reqPermissions":[...