feat: 补充全局自定义权限指令
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user