* zin: fix content property in control as text type not work.

This commit is contained in:
sunhao
2024-03-15 17:03:57 +08:00
parent 9cc09ae70c
commit eb99ee45a7
+6 -3
View File
@@ -25,7 +25,8 @@ class content extends wg
setClass('text'),
set($this->getRestProps()),
$this->prop('text'),
$this->prop('content')
$this->prop('content'),
$this->children()
);
}
@@ -35,7 +36,8 @@ class content extends wg
(
set::href($this->prop('url')),
set($this->getRestProps()),
$this->prop('text')
$this->prop('text'),
$this->children()
);
}
@@ -45,7 +47,8 @@ class content extends wg
(
setClass('article'),
set($this->getRestProps()),
html($this->prop('content'))
html($this->prop('content')),
$this->children()
);
}