Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1ca585c7
Commit
1ca585c7
authored
Nov 07, 2021
by
季圣华
Browse files
报表地址优化
parent
a692f2bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/layouts/IframePageView.vue
View file @
1ca585c7
...
@@ -43,6 +43,10 @@
...
@@ -43,6 +43,10 @@
if
(
url
!==
null
&&
url
!==
undefined
)
{
if
(
url
!==
null
&&
url
!==
undefined
)
{
//外部url加入token
//外部url加入token
let
token
=
Vue
.
ls
.
get
(
ACCESS_TOKEN
);
let
token
=
Vue
.
ls
.
get
(
ACCESS_TOKEN
);
if
(
url
)
{
url
=
url
.
replace
(
'
/report
'
,
''
)
url
=
'
http://
'
+
window
.
location
.
host
+
url
}
this
.
url
=
url
+
'
?token=
'
+
token
;
this
.
url
=
url
+
'
?token=
'
+
token
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment