* zin: refactor.

This commit is contained in:
Hao Sun
2023-03-29 15:14:16 +08:00
parent db511ea513
commit 1350ef83ad
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -53,10 +53,4 @@ class page extends pagebase
empty($pageJS) ? NULL : js($pageJS)
);
}
protected function created()
{
$this->setDefaultProps(array('title' => data('title')));
parent::created();
}
}
+1 -1
View File
@@ -52,7 +52,7 @@ class pagebase extends wg
h::head
(
html($this->prop('metas')),
h::title($this->props->get('title', '') . " - $lang->zentaoPMS"),
h::title($this->props->get('title', data('title')) . " - $lang->zentaoPMS"),
$zui ? h::import(array($config->zin->zuiPath . 'zui.zentao.umd.cjs', $config->zin->zuiPath . 'zui.zentao.css')) : null,
$zui ? h::js
(