l-hammer/YDTemplate

View on GitHub
src/app/mixins/index.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @mixin openDialog&&closeDialog
 */
export default {
  methods: {
    openDialog(name) {
      this.dialogs[name].open = true;
    },
    closeDialog(name) {
      this.dialogs[name].open = false;
    },
  },
};