From a5ce88f887458b8da6da4edc8649c8d73b1c57c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Thu, 29 Aug 2024 14:42:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webs/log-web/src/views/iframe.vue | 2 +- webs/oms-web/src/views/iframe.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webs/log-web/src/views/iframe.vue b/webs/log-web/src/views/iframe.vue index 1b4bbec..13ad93e 100644 --- a/webs/log-web/src/views/iframe.vue +++ b/webs/log-web/src/views/iframe.vue @@ -21,7 +21,7 @@ export default { iframeUrl() { const params = { token: getToken(), - ...this.$route.query + ...(this.$route.query || {}) } const url = addParamsToUrl(this.$route.meta.url, params) return url.toString() diff --git a/webs/oms-web/src/views/iframe.vue b/webs/oms-web/src/views/iframe.vue index 1b4bbec..13ad93e 100644 --- a/webs/oms-web/src/views/iframe.vue +++ b/webs/oms-web/src/views/iframe.vue @@ -21,7 +21,7 @@ export default { iframeUrl() { const params = { token: getToken(), - ...this.$route.query + ...(this.$route.query || {}) } const url = addParamsToUrl(this.$route.meta.url, params) return url.toString()