From 6f25d2f2e5993a58f1509b10d8e4d0413c6ea727 Mon Sep 17 00:00:00 2001 From: sunxiaobin89 <470459819@qq.com> Date: Wed, 3 May 2023 18:38:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20treeTable=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=20`getOptions`=20=E5=92=8C=20`hideCol`=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/treeTable.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/treeTable.js b/src/modules/treeTable.js index 6ac59942..30ddecb5 100644 --- a/src/modules/treeTable.js +++ b/src/modules/treeTable.js @@ -24,14 +24,16 @@ layui.define(['table'], function (exports) { that.config = $.extend({}, that.config, options); return that; }, - resize: table.resize + resize: table.resize, + getOptions: table.getOptions, + hideCol: table.hideCol }; // 操作当前实例 var thisTreeTable = function () { - var that = this - , options = that.config - , id = options.id || options.index; + var that = this; + var options = that.config + var id = options.id || options.index; return { config: options,