Skip to content

Commit

Permalink
Fix bug BanyanDB ui type error (#299)
Browse files Browse the repository at this point in the history
* Fix bug BanyanDB ui type error #11066

* change CHANGES.MD
  • Loading branch information
WuChuSheng1 committed Jul 10, 2023
1 parent df13bd6 commit 0fadd20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Release Notes.
### Bugs

- BanyanDB ui unable to load icon.
- BanyanDB ui type error

### Chores

Expand Down
3 changes: 0 additions & 3 deletions ui/src/components/Aside/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -215,7 +214,6 @@ function searchGroup() {
}
})
data.groupLists = JSON.parse(JSON.stringify(groupLists))
that.$forceUpdate()
}
// init data
function getGroupLists() {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0fadd20

Please sign in to comment.