This is an automated email from the ASF dual-hosted git repository. lujiajing pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
The following commit(s) were added to refs/heads/main by this push: new df13bd67 fix: BanyanDB ui unable to load icon (#298) df13bd67 is described below commit df13bd67b29adbc6c184c386292681627305d6b2 Author: ButterBright <52878305+butterbri...@users.noreply.github.com> AuthorDate: Sun Jul 9 21:22:44 2023 +0800 fix: BanyanDB ui unable to load icon (#298) * fix: BanyanDB ui unable to load icon --- CHANGES.md | 4 ++++ ui/src/components/Header/components/header.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index daa9272b..adba19f9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,10 @@ Release Notes. - List all properties in a group. +### Bugs + +- BanyanDB ui unable to load icon. + ### Chores - Bump several dependencies and tools. diff --git a/ui/src/components/Header/components/header.vue b/ui/src/components/Header/components/header.vue index 647c995f..f34107d2 100644 --- a/ui/src/components/Header/components/header.vue +++ b/ui/src/components/Header/components/header.vue @@ -22,6 +22,7 @@ import { reactive } from "vue"; import { ElImage, ElTooltip, ElMenu, ElMenuItem } from 'element-plus' import { useRoute } from 'vue-router' import { watch, getCurrentInstance } from '@vue/runtime-core' +import userImg from '@/assets/banyandb_small.jpg' // Eventbus const $bus = getCurrentInstance().appContext.config.globalProperties.mittBus @@ -35,7 +36,6 @@ const data = reactive({ isCollapse: false, showButton: false }) -const userImg = 'http://localhost:5173/src/assets/banyandb_small.jpg' // watch watch(() => route, () => {