公告板
版本库
filestore
活动
搜索
登录
web
/
flow_web
大模型WEB
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix: 权限
zhangxiao
2024-08-23
ddfd2c45dea517f5330a2da02bba253479fe0fe0
[web/flow_web.git]
/
src
/
directive
/
index.ts
1
2
3
4
5
6
7
8
9
10
import { App } from 'vue';
import permission from './permission';
import hasPermi from './hasPermi';
export default {
install(Vue: App) {
Vue.directive('permission', permission);
Vue.directive('hasPermi', hasPermi);
},
};