dever 6 年之前
父節點
當前提交
96df3b84a4
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      main/src/Journal_v1.php

+ 4 - 3
main/src/Journal_v1.php

@@ -43,10 +43,11 @@ class Journal_v1 extends Core
             $this->data['push'] = Dever::db('journal/info')->getNew();
         }
 
-        $this->data['push'] = $this->info($this->data['push']);
         $this->data['button'] = array();
-        $this->data['push'] = $this->getButton($this->data['push']);
-
+        if (!$this->app) {
+            $this->data['push'] = $this->info($this->data['push']);
+            $this->data['push'] = $this->getButton($this->data['push']);
+        }
         
         $data = Dever::db('journal/info')->getAllByPage($where);