mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	修复BUG: 无法获取来自服务器的报错信息
This commit is contained in:
		| @@ -50,7 +50,7 @@ export async function checkUpdate(APPKEY) { | ||||
|   }); | ||||
|  | ||||
|   if (resp.status !== 200) { | ||||
|     throw new Error(resp.message); | ||||
|     throw new Error((await resp.json()).message); | ||||
|   } | ||||
|  | ||||
|   return await resp.json(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 tdzl2003
					tdzl2003