鍒濆鎻愪氦锛氱墰鍙暟鎹鐞嗙郴缁?- 鍖呭惈鍚庣Spring Boot鍜屽墠绔疺ue3椤圭洰
This commit is contained in:
17
admin-system/node_modules/element-plus/es/components/select-v2/src/useOption.mjs
generated
vendored
Normal file
17
admin-system/node_modules/element-plus/es/components/select-v2/src/useOption.mjs
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
function useOption(props, { emit }) {
|
||||
return {
|
||||
hoverItem: () => {
|
||||
if (!props.disabled) {
|
||||
emit("hover", props.index);
|
||||
}
|
||||
},
|
||||
selectOptionClick: () => {
|
||||
if (!props.disabled) {
|
||||
emit("select", props.item, props.index);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export { useOption };
|
||||
//# sourceMappingURL=useOption.mjs.map
|
||||
Reference in New Issue
Block a user