From 41aa81069caacaf35f7341e2874810123de79929 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Tue, 27 Apr 2021 18:33:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20bind=20=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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/extend/catcher/library/table/Table.php b/extend/catcher/library/table/Table.php index a81f336..e5d4c80 100644 --- a/extend/catcher/library/table/Table.php +++ b/extend/catcher/library/table/Table.php @@ -127,6 +127,13 @@ class Table */ protected $border = true; + /** + * bind table + * + * @var bool + */ + protected $bind = false; + /** * Table constructor. * @param string $ref @@ -340,6 +347,18 @@ class Table return $this; } + /** + * table 使用 v-bind + * + * @time 2021年04月27日 + * @return $this + */ + public function withBind(): Table + { + $this->bind = true; + + return $this; + } /** * 变成 tree table