diff --git a/framework/sdk-parent/frontend/src/business/app-layout/index.vue b/framework/sdk-parent/frontend/src/business/app-layout/index.vue index 007f4f2a35..32c54b903b 100644 --- a/framework/sdk-parent/frontend/src/business/app-layout/index.vue +++ b/framework/sdk-parent/frontend/src/business/app-layout/index.vue @@ -122,9 +122,19 @@ export default { if (title) { document.title = title; } + if (response.data[0].paramValue) { + this.shortcutIcon(); + } this.setAsideTheme(theme); }); }, + shortcutIcon() { + let link = document.querySelector("link[rel*='icon']") || document.createElement('link'); + link.type = 'image/x-icon'; + link.rel = 'shortcut icon'; + link.href = '/display/file/logo'; + document.getElementsByTagName('head')[0].appendChild(link); + }, setAsideTheme(theme) { switch (this.sideTheme) { case "theme-light":