Vue privilege control

vue project uses permission control. Find Vue2.0 user rights control solution on the Internet

however, when I use views to control custom instructions

Vue.directive("has", {
  bind: function(el, binding) {
    if (!Vue.prototype.$_has(binding.value)) {
      el.parentNode.removeChild(el);
    }
  }
});

dom operation will report that parentNode is not available, and it can be executed by putting it into inserted. But the example he gave can run

.

clipboard.png
this is a source code example

Oct.12,2021

clipboard.png

the code in the source code of his project also seems to be inserted

.

Vue-Access-Control/issues/11


bind only requires dom generation, not dom in the html document.


you can try this VueAccessControl

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b4a3-2c275.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b4a3-2c275.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?