摘要:
import Vue from "vue"; import prButton from "./PermissionsBtn/PermissionsBtn"; //全局自定义组件配置 export default { install() { Vue.component("prButton", prBu 阅读全文
摘要:
子组件封装: 1 <template> 2 <el-button 3 v-bind="$attrs" 4 :loading="loadingStatus" 5 @click="handleClick" 6 v-if="judgePerm(permission)" 7 > 8 <slot/> 9 </ 阅读全文
摘要:
转载:https://www.cnblogs.com/YunyaSir/p/15134316.html 阅读全文