From 3e440e09fb18aec0f703a3dfa51a0c5b4323fe63 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Oct 2022 15:35:23 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-13158:=20=E5=8C=85=E8=A3=B9BI.Widget.pus?= =?UTF-8?q?hContext()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/4.widget.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/core/4.widget.js b/src/core/4.widget.js index ce3747adc..3adf1f5f4 100644 --- a/src/core/4.widget.js +++ b/src/core/4.widget.js @@ -938,16 +938,6 @@ return vm; }; - BI.execWithContext = function (_context, fn) { - BI.Widget.pushContext(_context); - try { - fn(); - } catch (e) { - // nothing - } - BI.Widget.popContext(); - }; - BI.watch = function (vm, watch, handler) { // 必须要保证组件当前环境存在 if (BI.Widget.current) {