fix: release build

This commit is contained in:
2025-04-13 19:53:12 +00:00
parent 7f68b8d28b
commit d93118683d
4 changed files with 5 additions and 5 deletions

View File

@ -43,8 +43,7 @@ defineProps({
v-else-if="patch?.type === 'number'"
class="number-input"
:model-value="
(prf.current!.data.patches[patch!.id!] as { number: number })
?.number
(prf.current!.data.patches[patch!.id!] as any)?.number
"
@update:model-value="(v: number) => setNumber(patch!.id!, v)"
:min="patch?.min"

View File

@ -130,7 +130,7 @@ load();
<Select
v-model="prf.current!.data.sgt.aime_port"
:options="[
{ title: 'default', value: 'Disabled' },
{ title: 'default', value: null },
...Object.entries(coms ?? {}).map(([title, value]) => {
return {
title,
@ -138,6 +138,7 @@ load();
};
}),
]"
placeholder="default"
option-label="title"
option-value="value"
></Select>