From 84ab677962e1e8fb3634b5991f4251cffb1f6168 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 19 一月 2026 11:51:54 +0800
Subject: [PATCH] fix: 搬迁军泰生产功能

---
 src/directive/index.ts |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/directive/index.ts b/src/directive/index.ts
new file mode 100644
index 0000000..bbb6bb7
--- /dev/null
+++ b/src/directive/index.ts
@@ -0,0 +1,18 @@
+// #ifdef APP-VUE || H5
+import copyText from './common/copyText'
+// #endif
+import hasRole from './permission/hasRole'
+import hasPermi from './permission/hasPermi'
+import focus from './common/focus'
+import full from './common/full'
+import { App } from 'vue'
+
+export default function directive(app: App) {
+  // #ifdef APP-VUE || H5
+  app.directive('copyText', copyText)
+  // #endif
+  app.directive('hasRole', hasRole)
+  app.directive('hasPermi', hasPermi)
+  app.directive('focus', focus)
+  app.directive('full', full)
+}
\ No newline at end of file

--
Gitblit v1.9.3