新增复制组件
This commit is contained in:
parent
5deae744c4
commit
ef69476a4c
@ -97,6 +97,18 @@ trait ComponentsTrait
|
|||||||
return $this->component('url', $field ? : $this->attributes['prop']);
|
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 组件
|
* download 组件
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user