mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 00:01:05 +03:30
send Api Ok
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<template>
|
||||
<div>
|
||||
<modal-base :show="getCurrentModal" width="70%" @close="closeModal">
|
||||
<component :is="getCurrentModal" v-bind="getModalProperties"></component>
|
||||
</modal-base>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { mapGetters, mapMutations } from "vuex";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
show: false,
|
||||
showModal: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapMutations('modal', [
|
||||
'changeCurrentModal'
|
||||
]),
|
||||
closeModal: function() {
|
||||
this.changeCurrentModal('');
|
||||
},
|
||||
},
|
||||
computed : {
|
||||
...mapGetters('modal',[
|
||||
'getCurrentModal', 'getModalProperties'
|
||||
])
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user