vue3版本初版上线 自测已可用

This commit is contained in:
piexlmax
2021-08-26 12:45:41 +08:00
parent adc7f567f9
commit 265e42f513
81 changed files with 4478 additions and 18639 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
// 权限按钮展示指令
import { store } from '@/store'
export const auth = (Vue) => {
Vue.directive('auth', {
export const auth = (app) => {
app.directive('auth', {
// 当被绑定的元素插入到 DOM 中时……
bind: function(el, binding) {
const userInfo = store.getters['user/userInfo']