feat: auto select current branch

This commit is contained in:
Methapon2001 2024-07-10 13:21:32 +07:00
parent dcefa3de02
commit 2dac800fad
5 changed files with 81 additions and 66 deletions

View file

@ -24,23 +24,6 @@ const props = defineProps<{
service?: boolean;
optionsBranch?: { id: string; name: string }[];
}>();
onMounted( async() => {
setTimeout(() => {
if(!!props.optionsBranch ){
registeredBranchId.value = props.optionsBranch[0].id ;
}
}, 100);
});
</script>
<template>