rabin 5 years ago
parent
commit
9bdc36dd1e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      h5/src/View.php

+ 2 - 1
h5/src/View.php

@@ -46,7 +46,8 @@ class View extends Core
 
         if ($data && $template) {
 
-            if ($data['status'] == 1 && $preview != 1) {
+            print_r($data);die;
+            if (isset($data['status']) && $data['status'] == 1 && $preview != 1) {
                 Dever::alert('您访问的内容已下架');
             }
             if (isset($data['info']['content_array'])) {