add:新增table组件
This commit is contained in:
20
extend/catcher/library/table/Events.php
Normal file
20
extend/catcher/library/table/Events.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace catcher\library\table;
|
||||
|
||||
trait Events
|
||||
{
|
||||
/**
|
||||
* 表格选择事件
|
||||
*
|
||||
* @time 2021年03月29日
|
||||
* @return mixed
|
||||
*/
|
||||
public function selectionChange()
|
||||
{
|
||||
$this->appendEvents([
|
||||
'selection-change' => 'handleSelectMulti'
|
||||
]);
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user