1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

#115 unselect on paging

This commit is contained in:
lana-k
2023-10-31 22:27:47 +01:00
parent 6ecbde7fd3
commit 1e982a1196
3 changed files with 35 additions and 7 deletions

View File

@@ -185,6 +185,13 @@ export default {
beforeDestroy () {
this.resizeObserver.unobserve(this.$refs.runResultPanel)
},
watch: {
result () {
this.defaultSelectedCell = null
this.selectedCell = null
this.selectedCellValue = ''
}
},
methods: {
handleResize () {
this.calculatePageSize()