Commit f6cadf34 authored by 张俊's avatar 张俊

配置修改

parent f4d56025
Pipeline #75509 passed with stage
......@@ -243,12 +243,13 @@ export default {
},
gotopage(n) {
if (n == "logout") {
console.log(state);
if (state == "needLogin") {
window.location.href =
gisServiceUrl +
"/" +
gisPortalSiteName +
`/iam/login/#/login?redirect_uri=${window.location.protocol}//${window.location.host}/iam/api/logout`;
`/sharing/rest/oauth2/signout?client_id=arcgisonline&redirect_uri=${window.location.protocol}//${window.location.host}/iam/api/logout`;
} else {
window.location.href = "/iam/api/logout";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment