This commit is contained in:
Xuan Loi
2025-12-05 17:53:49 +07:00
commit 56f3509d4d
187 changed files with 30840 additions and 0 deletions

22
layouts/infor.vue Normal file
View File

@@ -0,0 +1,22 @@
<template>
<div>
<Nuxt/>
<Modal @close="showmodal=undefined" v-bind="showmodal" v-if="showmodal"></Modal>
<SnackBar @close="snackbar=undefined" v-bind="snackbar" v-if="snackbar" />
</div>
</template>
<script>
export default {
computed: {
showmodal: {
get: function() {return this.$store.state['showmodal']},
set: function(val) {this.$store.commit('updateStore', {name: 'showmodal', data: val})}
},
snackbar: {
get: function() {return this.$store.state['snackbar']},
set: function(val) {this.$store.commit('updateStore', {name: 'snackbar', data: val})}
}
}
}
</script>