From e8be9acee7c787349745677eb9e2a7feb2d34d67 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期一, 09 九月 2024 17:46:26 +0800
Subject: [PATCH] sql 编辑修改

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

diff --git a/src/directive/customDirective.ts b/src/directive/customDirective.ts
index c623e98..ca1f987 100644
--- a/src/directive/customDirective.ts
+++ b/src/directive/customDirective.ts
@@ -202,3 +202,13 @@
 		},
 	});
 };
+
+
+
+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