mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
events refactor
This commit is contained in:
@@ -112,11 +112,7 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
send({
|
||||
category: 'inquiry',
|
||||
action: 'create',
|
||||
label: 'auto=false'
|
||||
})
|
||||
send('inquiry.create', undefined, { auto: false })
|
||||
},
|
||||
cancelSave () {
|
||||
this.$modal.hide('save')
|
||||
@@ -170,10 +166,7 @@ export default {
|
||||
|
||||
// Signal about saving
|
||||
this.$root.$emit('inquirySaved')
|
||||
send({
|
||||
category: 'inquiry',
|
||||
action: 'save'
|
||||
})
|
||||
send('inquiry.save')
|
||||
},
|
||||
_keyListener (e) {
|
||||
if (this.$route.path === '/workspace') {
|
||||
|
||||
Reference in New Issue
Block a user