type mismatch for decklink nodes fixed
This commit is contained in:
@@ -123,7 +123,7 @@ function onDeleteNode() {
|
||||
v-if="param.type === 'select'"
|
||||
class="param-input"
|
||||
:value="data.params[param.key] ?? param.default"
|
||||
@change="setParam(param.key, ($event.target as HTMLSelectElement).value)"
|
||||
@change="setParam(param.key, typeof param.default === 'number' ? Number(($event.target as HTMLSelectElement).value) : ($event.target as HTMLSelectElement).value)"
|
||||
>
|
||||
<option v-for="opt in param.options" :key="String(opt.value)" :value="opt.value">
|
||||
{{ opt.label }}
|
||||
|
||||
Reference in New Issue
Block a user