From c1162e0cfd6d2b7455fee53f1235e142e1d83ecf Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期四, 14 十一月 2024 14:40:25 +0800
Subject: [PATCH] 修改数据管理

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

diff --git a/src/directive/customDirective.ts b/src/directive/customDirective.ts
index c623e98..525793c 100644
--- a/src/directive/customDirective.ts
+++ b/src/directive/customDirective.ts
@@ -202,3 +202,14 @@
 		},
 	});
 };
+
+
+
+export const eleFocusDirective = (app: App) => {
+	app.directive('elInputFocus', {
+		mounted: (el) => {
+			el.querySelector('input.el-input__inner')?.focus();
+		},
+		
+	});
+};
\ No newline at end of file

--
Gitblit v1.9.3