From 4837e37ab0954887b6f882bbfad4d20751f62dc0 Mon Sep 17 00:00:00 2001 From: RonnyChan96 Date: Mon, 28 Apr 2025 22:25:12 +0800 Subject: [PATCH] =?UTF-8?q?[elsa]=20=E5=BA=8F=E5=88=97=E5=8C=96=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=97=B6=E6=94=B9=E4=B8=BA=E5=90=8C=E6=AD=A5=E8=B0=83?= =?UTF-8?q?=E7=94=A8=EF=BC=8C=E9=81=BF=E5=85=8D=E5=BC=82=E6=AD=A5=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=AF=BC=E8=87=B4=E5=8F=AF=E8=83=BD=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E7=8A=B6=E6=80=81=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/elsa/fit-elsa/core/atom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/elsa/fit-elsa/core/atom.js b/framework/elsa/fit-elsa/core/atom.js index 6400b7698..8fef947b8 100644 --- a/framework/elsa/fit-elsa/core/atom.js +++ b/framework/elsa/fit-elsa/core/atom.js @@ -46,7 +46,7 @@ class Atom { constructor(detections = []) { let defaultDetections = []; defaultDetections.push({ - props: new Set(["type"]), react: async function (property, value, preValue, target) { + props: new Set(["type"]), react: function (property, value, preValue, target) { let parentChain = target.typeChain; target.typeChain = { parent: parentChain, type: value @@ -156,7 +156,7 @@ class Atom { proxy.addDetection = (props, react) => { detections.push({ - props: new Set(props), react: async function (property, value, preValue) { + props: new Set(props), react: function (property, value, preValue) { if (proxy.page === undefined || proxy.page.disableReact) { return; }