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

#63 test for chart updating

This commit is contained in:
lana-k
2025-03-29 13:32:20 +01:00
parent 108ae454c1
commit f49fa0ea96
3 changed files with 56 additions and 14 deletions

View File

@@ -99,6 +99,10 @@ export default {
mounted() {
this.resizeObserver = new ResizeObserver(this.handleResize)
this.resizeObserver.observe(this.$refs.chartContainer)
if (this.dataSources) {
dereference.default(this.state.data, this.dataSources)
this.updatePlotly()
}
},
activated() {
this.useResizeHandler = true