从json返回时:
override this.ShouldInterceptRequest(view:WebView, request:IWebResourceRequest) =
let rows = Customer.fakeData 1
let st = Shared.jsonToStream(rows)
new WebResourceResponse("text/json", "UTF-8", st)
它在页面上显示为字符串,没有json对象。我也尝试使用"application/javascript"
。