From 4c46682e2efc4b30ece957a494c58420367ff03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Wed, 5 Mar 2025 20:09:55 +0800 Subject: [PATCH] =?UTF-8?q?chore(component):=20=E6=B8=85=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/component.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/modules/component.js b/src/modules/component.js index f27317a1..e84f026c 100644 --- a/src/modules/component.js +++ b/src/modules/component.js @@ -223,18 +223,6 @@ layui.define(['jquery', 'lay'], function(exports) { return instance.call(that); }; - // 仅刷新视图 --- 待统一整理 - /* component.refresh = function(id) { - var that = instance.getThis(id); - if (!that) return; - } */ - - // 仅更新数据 --- 待统一整理 - /* component.update = function(id) { - var that = instance.getThis(id); - if (!that) return; - } */ - /** * 组件渲染 * @param {Object} options - 配置项