1
0
Fork 0

禁止添加

develop
vine_liutk 2023-05-26 17:15:23 +08:00
parent 01668c19a5
commit 187086b50e
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Components extends BaseRenderer {
public function keywordsTagControl($name = 'tags', $label= '标签', $typeKey = ''){
return amisMake()->TagControl()
->name($name)->label($label)
->name($name)->label($label)->creatable(false)
->options(Keyword::getByParentKey($typeKey)->pluck('name', 'id')->toArray());
}