mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 10:38:54 +08:00
add changing db in schema pane
This commit is contained in:
@@ -7,6 +7,7 @@ export default new Vuex.Store({
|
||||
state: {
|
||||
schema: null,
|
||||
dbFile: null,
|
||||
dbName: null,
|
||||
worker: new Worker('/js/worker.sql-wasm.js')
|
||||
},
|
||||
mutations: {
|
||||
@@ -15,6 +16,9 @@ export default new Vuex.Store({
|
||||
},
|
||||
saveDbFile (state, file) {
|
||||
state.dbFile = file
|
||||
},
|
||||
saveDbName (state, name) {
|
||||
state.dbName = name
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user