From 3cdd04f675ac6560bdb1e139f008442e15091332 Mon Sep 17 00:00:00 2001 From: XieYongHong <18010623010@163.com> Date: Fri, 22 Sep 2023 18:30:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E4=BD=8E=E7=A0=81?= =?UTF-8?q?=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iframe/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/iframe/index.vue b/src/views/iframe/index.vue index 5a43002a..42231f0f 100644 --- a/src/views/iframe/index.vue +++ b/src/views/iframe/index.vue @@ -46,9 +46,9 @@ const handle = async (appId: string, url: string) => { const lowCode = () => { lowCodeUrl().then(res => { - console.log(res.success && res.result) if (res.success && res.result) { const url = res.result['ui-addr'] + // const url = 'http://localhost:8080' iframeUrl.value = url + '/#' + route.path + '?&token=' + getToken() console.log(iframeUrl.value) loading.value = true @@ -58,7 +58,7 @@ const lowCode = () => { watchEffect(() => { const matchedItem: any = route.matched?.[0] - if (matchedItem?.meta?.isApp) { + if (route.meta?.isApp) { const params = route.path.split('/')?.[1]; if (params === 'preview') { lowCode()