Skip to content

Commit

Permalink
Merge pull request #4383 from jumpserver/pr@dev@fix_tab_refresh
Browse files Browse the repository at this point in the history
fixed: Fixed An issue where adding a tag to asset does not work
  • Loading branch information
ZhaoJiSen authored Oct 9, 2024
2 parents ddf5ac2 + cb46f39 commit 83443f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/Table/TableFormatters/LabelsFormatter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ export default {
}
},
computed: {},
watch: {
cellValue: {
handler(newValue) {
if (newValue) {
this.initial = this.formatterArgs.getLabels(this.cellValue)
this.iLabels = [...this.initial]
}
}
}
},
mounted() {
this.initial = this.formatterArgs.getLabels(this.cellValue)
this.iLabels = [...this.initial]
Expand Down

0 comments on commit 83443f8

Please sign in to comment.