diff --git a/frontend/src/components/AsyncComponent/index.vue b/frontend/src/components/AsyncComponent/index.vue index b115381fda..28e60641ed 100644 --- a/frontend/src/components/AsyncComponent/index.vue +++ b/frontend/src/components/AsyncComponent/index.vue @@ -45,10 +45,13 @@ export default { } else { res = await window.SyncComponentCache[this.url] } - if (res && res.data) { + + const Fn = Function + this.mode = new Fn(`return ${res.data || res}`)() + /* if (res && res.data) { const Fn = Function this.mode = new Fn(`return ${res.data || res}`)() - } + } */ } } },