fix: 兼容代码报错
parent
a5c07be72c
commit
a5ce88f887
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue