Authored by 梁志锋

逛页面 正在加载的bug修复

@@ -252,7 +252,7 @@ class IndexController extends AbstractAction @@ -252,7 +252,7 @@ class IndexController extends AbstractAction
252 $data = IndexModel::getPageData($gender, $sortId, $uid, $udid, $page, $tag, $authorId, $isApp, $showAuthor, $isTab); 252 $data = IndexModel::getPageData($gender, $sortId, $uid, $udid, $page, $tag, $authorId, $isApp, $showAuthor, $isTab);
253 } while (false); 253 } while (false);
254 254
255 - if (isset($data)) { 255 + if (isset($data) && !empty($data)) {
256 $this->_view->display('page', $data); 256 $this->_view->display('page', $data);
257 } else { 257 } else {
258 echo ' '; 258 echo ' ';