mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Remove Pillbar Auto assigning default Value
This commit is contained in:
parent
34c4b9b87e
commit
150e1003ee
1 changed files with 0 additions and 8 deletions
|
@ -20,14 +20,6 @@ let modelValue: MaybeIndex = $ref(null);
|
|||
watch(() => props.modelValue, (val) => { if (val !== modelValue) modelValue = val; });
|
||||
watch($$(modelValue), (val) => emit('update:modelValue', val));
|
||||
|
||||
onMounted(async() => {
|
||||
if (isNullish(modelValue)) {
|
||||
const entries = Object.entries(options);
|
||||
modelValue = entries.length > 0
|
||||
? entries[0][0]
|
||||
: null;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<div>
|
||||
|
|
Loading…
Add table
Reference in a new issue