$.ajaxSettings.async = false; $.getJSON('/js/city.json', function (data) { tmp= data; });
未经允许不得转载:天宝寺||陈瑞轩 » jquery getJSON 同步执行
$.ajaxSettings.async = false; $.getJSON('/js/city.json', function (data) { tmp= data; });
未经允许不得转载:天宝寺||陈瑞轩 » jquery getJSON 同步执行