webpackJsonp([33],{hLoM:function(e,t){},x1md:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{"margin-top":"50px"}},[n("h3",[e._v("下面按钮根据当前用户的权限来显示隐藏：")]),e._v(" "),n("p",[e._v('当前用户角色： "'+e._s(e.$store.getters.info.permissions)+'"')]),e._v(" "),n("p",[e._v("没权限按钮："),n("el-button",{attrs:{type:"primary",plain:"",size:"medium"}},[e._v("查看")])],1),e._v(" "),n("p",[e._v('需要 ["管理员"]：'),n("el-button",{directives:[{name:"role-btn",rawName:"v-role-btn",value:["admin"],expression:"['admin']"}],attrs:{type:"primary",plain:"",size:"medium"}},[e._v("添加")])],1),e._v(" "),n("p",[e._v('需要 ["超级管理员"]：'),n("el-button",{directives:[{name:"role-btn",rawName:"v-role-btn",value:["superAdmin"],expression:"['superAdmin']"}],attrs:{type:"danger",plain:"",size:"medium"}},[e._v("删除")])],1),e._v(" "),n("p",[e._v('需要 ["超级管理员", "管理员"]：'),n("el-button",{directives:[{name:"role-btn",rawName:"v-role-btn",value:["superAdmin","admin"],expression:"['superAdmin','admin']"}],attrs:{type:"primary",plain:"",size:"medium"}},[e._v("修改")])],1)])},staticRenderFns:[]};var r=n("VU/8")({name:"btnPermissions"},i,!1,function(e){n("hLoM")},"data-v-36e3d40c",null);t.default=r.exports}});
//# sourceMappingURL=33.017fadb78d114a82a06b.js.map