diff --git a/lib/zin/wg/section/v1.php b/lib/zin/wg/section/v1.php index 3e9b055e6e..95318cf247 100644 --- a/lib/zin/wg/section/v1.php +++ b/lib/zin/wg/section/v1.php @@ -5,7 +5,7 @@ namespace zin; class section extends wg { protected static array $defineProps = array( - 'title: string', // 标题 + 'title?: string', // 标题 'content?: string|array', // 内容 'useHtml?: bool=false', // 内容是否解析 HTML 标签 );