新增 bind 方法
This commit is contained in:
parent
0600fc1dbb
commit
41aa81069c
@ -127,6 +127,13 @@ class Table
|
|||||||
*/
|
*/
|
||||||
protected $border = true;
|
protected $border = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* bind table
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
protected $bind = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Table constructor.
|
* Table constructor.
|
||||||
* @param string $ref
|
* @param string $ref
|
||||||
@ -340,6 +347,18 @@ class Table
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* table 使用 v-bind
|
||||||
|
*
|
||||||
|
* @time 2021年04月27日
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function withBind(): Table
|
||||||
|
{
|
||||||
|
$this->bind = true;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 变成 tree table
|
* 变成 tree table
|
||||||
|
Loading…
x
Reference in New Issue
Block a user