更新table组件

This commit is contained in:
JaguarJack
2021-05-07 08:41:41 +08:00
parent 666b837327
commit 58aea6c0db
3 changed files with 74 additions and 0 deletions

View File

@@ -84,4 +84,16 @@ trait ComponentsTrait
{
return $this->component('preview', $field ? : $this->attributes['prop']);
}
/**
* download 组件
*
* @time 2021年05月05日
* @param null $field
* @return ComponentsTrait|HeaderItem
*/
public function withDownloadComponent($field = null)
{
return $this->component('download', $field ? : $this->attributes['prop']);
}
}