You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
410 B
18 lines
410 B
5 years ago
|
import { mapActions, mapGetters } from "vuex";
|
||
|
const modal = {
|
||
|
methods: {
|
||
|
...mapActions("modal", ["openModal", "closeModal", "dialog"]),
|
||
|
$_openModal(options) {
|
||
|
this.openModal(options);
|
||
|
},
|
||
|
$_closeModal(options) {
|
||
|
this.closeModal(options);
|
||
|
},
|
||
|
$_dialog(options) {
|
||
|
this.dialog(options);
|
||
|
}
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export { modal };
|