mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
#128 tests
This commit is contained in:
@@ -7,7 +7,7 @@ import LoadView from '@/views/LoadView'
|
||||
import store from '@/store'
|
||||
import database from '@/lib/database'
|
||||
|
||||
const routes = [
|
||||
export const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Welcome',
|
||||
|
||||
@@ -178,6 +178,7 @@ export default {
|
||||
this.openSaveModal()
|
||||
},
|
||||
openSaveModal() {
|
||||
this.$modal.hide('inquiry-conflict')
|
||||
this.errorMsg = null
|
||||
this.name = ''
|
||||
this.$modal.show('save')
|
||||
@@ -190,8 +191,6 @@ export default {
|
||||
this.saveInquiry()
|
||||
},
|
||||
async saveInquiry() {
|
||||
const dataSet = this.currentInquiryTab.result
|
||||
const tabView = this.currentInquiryTab.view
|
||||
const eventName =
|
||||
this.currentInquiryTab.name && this.name
|
||||
? 'inquiry.saveAs'
|
||||
|
||||
Reference in New Issue
Block a user