mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
refactor: ts and composition api on WorkspaceTabNew* components
This commit is contained in:
@ -139,7 +139,7 @@ export default defineComponent({
|
||||
const hightlightedIndex = ref(0);
|
||||
const isOpen = ref(false);
|
||||
const isMouseDown = ref(false);
|
||||
const internalValue = ref(props.modelValue || props.value);
|
||||
const internalValue = ref(props.modelValue !== false ? props.modelValue : props.value);
|
||||
const el = ref(null);
|
||||
const searchInput = ref(null);
|
||||
const optionList = ref(null);
|
||||
@ -380,7 +380,8 @@ export default defineComponent({
|
||||
optionList,
|
||||
optionRefs,
|
||||
handleBlurEvent,
|
||||
handleMouseUpEvent
|
||||
handleMouseUpEvent,
|
||||
internalValue
|
||||
};
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user