新增复制组件

This commit is contained in:
JaguarJack 2021-05-13 08:46:17 +08:00
parent 5deae744c4
commit ef69476a4c

View File

@ -97,6 +97,18 @@ trait ComponentsTrait
return $this->component('url', $field ? : $this->attributes['prop']);
}
/**
* 复制组件
*
* @time 2021年05月12日
* @param null $field
* @return ComponentsTrait|HeaderItem
*/
public function withCopyComponent($field = null)
{
return $this->component('copy', $field ? : $this->attributes['prop']);
}
/**
* download 组件
*