import Vue from 'vue'; //permission:用于控制是否显示按键。 //控制权限的指令 Vue.directive('has',{ bind:function(el,binding){ if (!Vue