From 744691d91688e78cd7b4356420d264f28fe9f57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 7 Nov 2021 23:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E5=9C=B0=E5=9D=80=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/components/layouts/IframePageView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jshERP-web/src/components/layouts/IframePageView.vue b/jshERP-web/src/components/layouts/IframePageView.vue index 2034decd..e0d7c3f3 100644 --- a/jshERP-web/src/components/layouts/IframePageView.vue +++ b/jshERP-web/src/components/layouts/IframePageView.vue @@ -44,8 +44,8 @@ //外部url加入token let token = Vue.ls.get(ACCESS_TOKEN); if(url) { - url = url.replace('/report','') - url = 'http://' + window.location.host + url + url = url.replace('/system','') + url = document.location.protocol + '//' + window.location.host + url } this.url = url + '?token=' + token; }