$.ajax({ url:"strock.js?name="+chiWord,async:false,success:function(json){ _this.jsonObj = json; if (_this.jsonObj==null) { alert("parse json error"); return; } },error:function(){ console.error("got error,%o",arguments); } });原文链接:https://www.f2er.com/ajax/165867.html