fix:修复微应用路由

This commit is contained in:
weifashi 2023-08-02 16:10:48 +08:00
parent d0122328b7
commit cf3abdf643
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
:url='url'
inline
destroy
keep-alive
disableSandbox
:data='appData'
@created='handleCreate'

View File

@ -403,7 +403,7 @@ export default {
needStartHome: false,
okrUrl: import.meta.env.VITE_OKR_WEB_URL || "/apps/okr/"
okrUrl: import.meta.env.VITE_OKR_WEB_URL || $.apiUrl(location.origin + "/apps/okr")
}
},