diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index fdd29ec26..8ffa003e7 100644 --- a/src/store/modules/settings.js +++ b/src/store/modules/settings.js @@ -64,6 +64,9 @@ const actions = { changeThemeColors(themeColors) resolve(response) }).catch(error => { + if (error.response && error.response.status === 400) { + alert('自 v3.6 版本开始,要求配置可信任域名或主机,否则无法正常使用, 查看: https://github.com/jumpserver/jumpserver/releases/tag/v3.6.0') + } reject(error) }) }) diff --git a/src/styles/ztree_icon.scss b/src/styles/ztree_icon.scss index 560f76e02..b7c1d2bea 100644 --- a/src/styles/ztree_icon.scss +++ b/src/styles/ztree_icon.scss @@ -58,6 +58,8 @@ background: url('./icons/switch.png') no-repeat center left transparent; } + &.k8s_ico_open, + &.k8s_ico_close, &.k8s_ico_docu { background: url('./icons/k8s.png') center left no-repeat; }