1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

add store tests

This commit is contained in:
lana-k
2021-01-01 18:47:16 +01:00
parent 4c2da33d01
commit ef461be3e5
5 changed files with 601 additions and 70 deletions

View File

@@ -34,7 +34,7 @@
:sql-result="result"
:init-chart="initChart"
ref="chart"
@update="$store.commit('updateTabState', { index: tabIndex, isUnsaved: true })"
@update="$store.commit('updateTab', { index: tabIndex, isUnsaved: true })"
/>
</div>
</template>
@@ -93,7 +93,7 @@ export default {
}
},
query () {
this.$store.commit('updateTabState', { index: this.tabIndex, isUnsaved: true })
this.$store.commit('updateTab', { index: this.tabIndex, isUnsaved: true })
}
},
methods: {