This commit is contained in:
2023-01-17 17:00:49 +08:00
commit e57bf97042
136 changed files with 24364 additions and 0 deletions

40
src/App.vue Normal file
View File

@@ -0,0 +1,40 @@
<template>
<div id="app">
<v-toast v-show="showToast"></v-toast>
<v-alert v-show="showAlert"></v-alert>
<v-loading v-show="loading"></v-loading>
<keep-alive :include="keepAlive" >
<router-view/>
</keep-alive>
</div>
</template>
<script>
import toast from '@/components/toast'
import alert from '@/components/alert'
import loading from '@/components/loading'
// import { isOperateFun } from '@/config/isOperate.js'
import { mapGetters } from 'vuex'
export default {
name: 'App',
components: {
'v-toast': toast,
'v-alert': alert,
'v-loading': loading
},
data () {
return {}
},
computed: {
...mapGetters(['showToast', 'showAlert', 'loading', 'keepAlive'])
},
created () {
// isOperateFun()
}
}
</script>
<style lang="stylus">
@import '~@style/common'
</style>