From 63f8fe059b3b429baf0e10969a259beecaddbaad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 10 Oct 2019 15:31:00 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/local.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server-beta/src') diff --git a/server-beta/src/core/local.lua b/server-beta/src/core/local.lua index 1916ba88..040da822 100644 --- a/server-beta/src/core/local.lua +++ b/server-beta/src/core/local.lua @@ -76,11 +76,11 @@ function m:field(source, key, callback) end end end - --if source.tag == 'self' then - -- local method = source.method - -- local node = method.node - -- self:eachRef(node, 'field', callback) - --end + if source.tag == 'self' then + local method = source.method + local node = method.node + self:eachField(node, key, callback) + end if source.value then self:eachField(source.value, key, callback) end -- cgit v1.2.3