From 4e170dbd175dbd95145b2048385e2e99bde453aa Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Mon, 5 Apr 2021 22:03:25 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=96=B0=E5=A2=9E=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=84=E4=BB=B6=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/library/table/Table.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/extend/catcher/library/table/Table.php b/extend/catcher/library/table/Table.php index 94fecb8..4a4c107 100644 --- a/extend/catcher/library/table/Table.php +++ b/extend/catcher/library/table/Table.php @@ -93,6 +93,11 @@ class Table protected $exportRoute; + /** + * @var bool + */ + protected $forceUpdate = false; + /** * Table constructor. * @param string $ref @@ -294,6 +299,19 @@ class Table return $this; } + /** + * 强制更新组件 + * + * @time 2021年04月05日 + * @return $this + */ + public function forceUpdate(): Table + { + $this->forceUpdate = true; + + return $this; + } + /** * 渲染 *