diff --git a/var/Widget/Contents/Post/Edit.php b/var/Widget/Contents/Post/Edit.php index 9ececbe9..fa8c1e5d 100644 --- a/var/Widget/Contents/Post/Edit.php +++ b/var/Widget/Contents/Post/Edit.php @@ -405,7 +405,7 @@ class Edit extends Contents implements ActionInterface $realId = 0; /** 是否是从草稿状态发布 */ - $isDraftToPublish = ('post_draft' == $this->type); + $isDraftToPublish = ('post_draft' == $this->type || 'page_draft' == $this->type); $isBeforePublish = ('publish' == $this->status); $isAfterPublish = ('publish' == $contents['status']);