删除文件.

This commit is contained in:
lijiahangmax
2024-02-20 00:06:10 +08:00
parent a2ff7b0076
commit bde002ee34
21 changed files with 518 additions and 130 deletions

View File

@@ -0,0 +1,9 @@
import { nextTick } from 'vue';
// 设置 ref 自动聚焦
export const setAutoFocus = (el: HTMLElement) => {
// 自动聚焦
nextTick(() => {
el && el.focus();
});
};