You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2023/07/10 15:13:56 UTC
[skywalking-banyandb] branch main updated: Fix bug BanyanDB ui type error (#299)
This is an automated email from the ASF dual-hosted git repository.
hanahmily 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 0fadd209 Fix bug BanyanDB ui type error (#299)
0fadd209 is described below
commit 0fadd209f66c619ac546414604f344171005b916
Author: Wu ChuSheng <a1...@gmail.com>
AuthorDate: Mon Jul 10 23:13:51 2023 +0800
Fix bug BanyanDB ui type error (#299)
* Fix bug BanyanDB ui type error #11066
* change CHANGES.MD
---
CHANGES.md | 1 +
ui/src/components/Aside/index.vue | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/CHANGES.md b/CHANGES.md
index adba19f9..0b28d403 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -11,6 +11,7 @@ Release Notes.
### Bugs
- BanyanDB ui unable to load icon.
+- BanyanDB ui type error
### Chores
diff --git a/ui/src/components/Aside/index.vue b/ui/src/components/Aside/index.vue
index 6fd81b8c..5c4c3812 100644
--- a/ui/src/components/Aside/index.vue
+++ b/ui/src/components/Aside/index.vue
@@ -28,7 +28,6 @@ import { Search } from '@element-plus/icons-vue'
const router = useRouter()
const route = useRoute()
const { proxy } = getCurrentInstance()
-const { ctx: that } = getCurrentInstance()
// ref
const ruleForm = ref()
@@ -215,7 +214,6 @@ function searchGroup() {
}
})
data.groupLists = JSON.parse(JSON.stringify(groupLists))
- that.$forceUpdate()
}
// init data
function getGroupLists() {
@@ -281,7 +279,6 @@ function getGroupLists() {
Promise.all(promise).then(() => {
data.showSearch = true
data.groupListsCopy = JSON.parse(JSON.stringify(data.groupLists))
- that.$forceUpdate()
}).catch((err) => {
ElMessage({
message: 'An error occurred while obtaining group data. Please refresh and try again. Error: ' + err,