完全跑通1.0版本
This commit is contained in:
10
frontend/node_modules/element-plus/es/hooks/use-focus/index.d.ts
generated
vendored
Normal file
10
frontend/node_modules/element-plus/es/hooks/use-focus/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Ref } from "vue";
|
||||
|
||||
//#region ../../packages/hooks/use-focus/index.d.ts
|
||||
declare const useFocus: (el: Ref<{
|
||||
focus: () => void;
|
||||
} | null>) => {
|
||||
focus: () => void;
|
||||
};
|
||||
//#endregion
|
||||
export { useFocus };
|
||||
10
frontend/node_modules/element-plus/es/hooks/use-focus/index.mjs
generated
vendored
Normal file
10
frontend/node_modules/element-plus/es/hooks/use-focus/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
//#region ../../packages/hooks/use-focus/index.ts
|
||||
const useFocus = (el) => {
|
||||
return { focus: () => {
|
||||
el.value?.focus?.();
|
||||
} };
|
||||
};
|
||||
//#endregion
|
||||
export { useFocus };
|
||||
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
1
frontend/node_modules/element-plus/es/hooks/use-focus/index.mjs.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/es/hooks/use-focus/index.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../packages/hooks/use-focus/index.ts"],"sourcesContent":["import type { Ref } from 'vue'\n\nexport const useFocus = (\n el: Ref<{\n focus: () => void\n } | null>\n) => {\n return {\n focus: () => {\n el.value?.focus?.()\n },\n }\n}\n"],"mappings":";AAEA,MAAa,YACX,OAGG;CACH,OAAO,EACL,aAAa;EACX,GAAG,OAAO,SAAS;IAEtB"}
|
||||
Reference in New Issue
Block a user