From ecabeac970ec29c6031c81dbfae126ad745c8322 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Fri, 17 Feb 2023 15:36:45 +0800 Subject: [PATCH] * zin: refactor dtable with zui --- zin/wg/dtable/v1.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/zin/wg/dtable/v1.php b/zin/wg/dtable/v1.php index b4f4a8b1b0..89bdb5688f 100644 --- a/zin/wg/dtable/v1.php +++ b/zin/wg/dtable/v1.php @@ -4,19 +4,8 @@ namespace zin; class dtable extends wg { - protected static $defineProps = 'data,height,plugins,responsive'; - protected function build() { - $id = $this->prop('id'); - $options = json_encode($this->props->skip('id')); - return h::div( - setId($id), - h::js(<<