feat: 补充全局自定义权限指令

This commit is contained in:
xuziqiang
2024-06-28 14:49:40 +08:00
parent 9f1620c9f8
commit edfc11825d
4 changed files with 67 additions and 1 deletions

View File

@@ -5,8 +5,15 @@ import { apiModule } from '/@/api';
import { appConfig } from '/@/config';
import './theme/global.less';
import { LeftOutlined } from '@ant-design/icons-vue';
import { setupGlobDirectives } from '/@/directives';
const app = createApp(App);
app.component('LeftOutlined', LeftOutlined);
// Register global directive
// 注册全局指令
setupGlobDirectives(app);
saasInit({
app,
apiModule,