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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user