text: import Vue from 'vue';
  import Cookies from 'js-cookie';
  import {showThisRoute} from '@/libs/util';
  
  Vue.directive('permission', {
      bind: function (el, binding, vnode) {   
          console.log(binding)  
         if (!showThisRoute(binding.value,  JSON.parse(Cookies.get("access")))) {
             el.style.display="none";
         }      
      }
    })