From e101240fdbfc1e6452161b12369d66ea8cf0f825 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 11 Oct 2020 21:03:37 +0800 Subject: [PATCH] Composition API --- src/core/shortcut.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/shortcut.js b/src/core/shortcut.js index 6d45e91b3c..7f776cb87f 100644 --- a/src/core/shortcut.js +++ b/src/core/shortcut.js @@ -23,7 +23,7 @@ widget._initProps(config); widget._initRoot(); widget._initRef(); - if (config.element || config.root || !lazy) { + if (!lazy || config.element || config.root) { widget._lazyConstructor(); } return widget;