Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -134,7 +134,7 @@ | @@ -134,7 +134,7 @@ | ||
| 134 | var loading = layer.load(1, {shade: [0.1, '#fff']}); | 134 | var loading = layer.load(1, {shade: [0.1, '#fff']}); |
| 135 | $.post("{:url('Comment/addcommit')}", data.field, function (res) { | 135 | $.post("{:url('Comment/addcommit')}", data.field, function (res) { |
| 136 | layer.close(loading); | 136 | layer.close(loading); |
| 137 | - alert(res); | 137 | + alert(JSON.stringify(res)); |
| 138 | /*if (res.code == 1) { | 138 | /*if (res.code == 1) { |
| 139 | layer.msg(res.msg, {time: 1000, icon: 1}, function () { | 139 | layer.msg(res.msg, {time: 1000, icon: 1}, function () { |
| 140 | location.href = "{:url('CommentList')}"; | 140 | location.href = "{:url('CommentList')}"; |
-
Please register or login to post a comment