dengzhiguo 6 years ago
parent
commit
9cf7ff54cf
2 changed files with 3 additions and 2 deletions
  1. 1 1
      package.json
  2. 2 1
      src/js/facilitator/facilitator.js

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "aft-portal",
-  "version": "1.0.0",
+  "version": "1.0.1",
   "description": "",
   "main": "index.js",
   "scripts": {

+ 2 - 1
src/js/facilitator/facilitator.js

@@ -74,7 +74,8 @@ $(function(){
             //分页部分的处理
             $('.pagination_box').css('display', 'block');
                 $('.inp').css('display', 'block');
-                if (data.data.list.length === 0) {
+                console.log(15);
+                if (data.data.list&&data.data.list.length === 0) {
                     $('.achievementHot .hotList').html("<div class='list_none'></div>");
                     $('.pagination_box').css('display', 'none')
                     $('.inp').css('display', 'none');