jQuery查询数据返回object和字符串影响原因是什么
程序员文章站
2023-11-13 08:45:22
代码如下:
$.post("queryticiptbaseauxtype",{},function(data){
此处返回的 data 为 obejct 对象
}
$.post...
代码如下:
$.post("queryticiptbaseauxtype",{},function(data){
此处返回的 data 为 obejct 对象
}
$.post("queryticiptbaseauxtype",function(data){
此处返回的 data 为 字符串
}
区别,中间少了一个{} ,只明结果不知道原因。