1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 18:48:55 +08:00

add import queries feature

This commit is contained in:
lana-k
2020-10-15 20:27:35 +02:00
parent 39d958de86
commit 769c146d95
5 changed files with 57 additions and 4 deletions

View File

@@ -19,12 +19,14 @@
</template>
<script>
import { nanoid } from 'nanoid'
export default {
name: 'MainMenu',
methods: {
createNewQuery () {
const tab = {
id: Number(new Date()),
id: nanoid(),
name: null,
tempName: this.$store.state.untitledLastIndex
? `Untitled ${this.$store.state.untitledLastIndex}`
@@ -69,6 +71,7 @@ export default {
}
}
</script>
<style scoped>
nav {
height: 68px;