这里写自定义目录标题
vue2.0环境 封装全局弹框组件
找一个文件夹存放这两个文件
index.vue
<div class="member-upgrade-box" v-show="showPopup">
<div class="shelter"></div>
</div>
</div>
<script type="text/javascript">
import {
mapGetters, mapActions, mapMutations } from "vuex";
export default {
name: "memberUpgradeBox",
props: {
show: false,
type: {
type: String,
default: ''
},
title: {
type: String,
default: ''
},
buttons: {
type: Object,
default() {
},
},
},
data() {
return {
proM