This commit is contained in:
2023-02-28 14:02:39 +08:00
commit 9b86baa44f
170 changed files with 29943 additions and 0 deletions

26
src/App.vue Normal file
View File

@@ -0,0 +1,26 @@
<template>
<div id="app">
<v-toast v-show="showToast"></v-toast>
<v-dialog v-show="showAlert"></v-dialog>
<router-view/>
</div>
</template>
<script>
import toast from '@/components/toast'
import dialog from '@/components/dialog'
import { mapGetters } from 'vuex'
export default {
name: 'App',
components: {
'v-toast': toast,
'v-dialog': dialog
},
data () {
return {}
},
computed: {
...mapGetters(['showToast', 'showAlert'])
}
}
</script>