修复ios每次升级历史记录无法查看问题

This commit is contained in:
wanghongen
2023-10-21 21:04:10 +08:00
parent b9d42092c2
commit b138e3f6bc
15 changed files with 70 additions and 39 deletions

View File

@@ -105,8 +105,12 @@ class NetworkTabState extends State<NetworkTabController> with SingleTickerProvi
return const SizedBox();
}
var response = widget.response.get();
String requestUrl = request.requestUrl;
try {
requestUrl = Uri.decodeFull(request.requestUrl);
} catch (_) {}
var content = [
rowWidget("Request URL", request.requestUrl),
rowWidget("Request URL", requestUrl),
const SizedBox(height: 20),
rowWidget("Request Method", request.method.name),
const SizedBox(height: 20),