deason 7 年之前
父节点
当前提交
7bd3c0e9e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/templates/deviceRecord/list.ftl

+ 1 - 1
src/main/resources/templates/deviceRecord/list.ftl

@@ -120,7 +120,7 @@
             type: "POST",
             data: JSON.stringify(params),
             success: function (response) {
-                if (response && response.success) {
+                if (response && response.code == '200') {
                     var data = response.data;
                     if (data.numberOfElements > 0) {
                         var html = render(data.content);