mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
perf: 扁平化 directives 目录
This commit is contained in:
parent
cc65b1d6c7
commit
24fd0a6253
@ -1,7 +1,7 @@
|
||||
import type { App } from "vue"
|
||||
import { permission } from "./permission"
|
||||
|
||||
/** 挂载自定义指令 */
|
||||
/** 加载自定义指令 */
|
||||
export function loadDirectives(app: App) {
|
||||
app.directive("permission", permission)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user