From 495d1510f9a9ebf1f488569f6ca24a6be56bc9f3 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 12 九月 2024 13:59:23 +0800 Subject: [PATCH] Revert "对接接口" --- src/directive/customDirective.ts | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/directive/customDirective.ts b/src/directive/customDirective.ts index b6eb85d..83738b5 100644 --- a/src/directive/customDirective.ts +++ b/src/directive/customDirective.ts @@ -53,13 +53,13 @@ }); } -export const eleFocusDirective = (app: App) => { - app.directive('elInputFocus', { - mounted: (el) => { - el.querySelector('input.el-input__inner')?.focus(); - }, - }); -}; +export const eleFocusDirective =(app:App)=>{ + app.directive('elInputFocus',{ + mounted:(el)=>{ + el.querySelector('input.el-input__inner')?.focus() + } + }) +} /** * 鑷畾涔夋嫋鍔ㄦ寚浠� -- Gitblit v1.9.3