add:新增强制更新组件方法

This commit is contained in:
JaguarJack 2021-04-05 22:03:25 +08:00
parent f7c8d65ea9
commit 4e170dbd17

View File

@ -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;
}
/** /**
* 渲染 * 渲染
* *