add:新增强制更新组件方法
This commit is contained in:
parent
f7c8d65ea9
commit
4e170dbd17
@ -93,6 +93,11 @@ class Table
|
|||||||
protected $exportRoute;
|
protected $exportRoute;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
protected $forceUpdate = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Table constructor.
|
* Table constructor.
|
||||||
* @param string $ref
|
* @param string $ref
|
||||||
@ -294,6 +299,19 @@ class Table
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 强制更新组件
|
||||||
|
*
|
||||||
|
* @time 2021年04月05日
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function forceUpdate(): Table
|
||||||
|
{
|
||||||
|
$this->forceUpdate = true;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 渲染
|
* 渲染
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user