正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -55,7 +55,7 @@ | @@ -55,7 +55,7 @@ | ||
55 | data:{'pid':province_id}, | 55 | data:{'pid':province_id}, |
56 | success:function(data) { | 56 | success:function(data) { |
57 | if(data.code==20000){ | 57 | if(data.code==20000){ |
58 | - var result = data.data; | 58 | + var result = data; |
59 | var mydata = "<option value=''>请选择</option>"; | 59 | var mydata = "<option value=''>请选择</option>"; |
60 | for (var i = 0; i < result.data.length; i++) { | 60 | for (var i = 0; i < result.data.length; i++) { |
61 | var data = result.data[i]; | 61 | var data = result.data[i]; |
@@ -78,7 +78,7 @@ | @@ -78,7 +78,7 @@ | ||
78 | data:{'pid':city_id}, | 78 | data:{'pid':city_id}, |
79 | success:function(data) { | 79 | success:function(data) { |
80 | if(data.code==1){ | 80 | if(data.code==1){ |
81 | - var result = data.data; | 81 | + var result = data; |
82 | var mydata = "<option value=''>请选择</option>"; | 82 | var mydata = "<option value=''>请选择</option>"; |
83 | for (var i = 0; i < result.data.length; i++) { | 83 | for (var i = 0; i < result.data.length; i++) { |
84 | var data = result.data[i]; | 84 | var data = result.data[i]; |
-
请 注册 或 登录 后发表评论