mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Change the order of v-bind because of migrating vue3
This commit is contained in:
parent
3b3937975e
commit
6419eec9b3
@ -20,8 +20,8 @@
|
||||
:is="options.radio ? 'RadioButton' : 'CheckBox'"
|
||||
v-for="name of Object.keys(options.switches)"
|
||||
:key="name"
|
||||
:class="{ dim: isDim(name) }"
|
||||
v-bind="options.switchProps || {}"
|
||||
:class="{ dim: isDim(name) }"
|
||||
:checked="componentOptions[`switch-${name}`]"
|
||||
@update:checked="componentOptions[`switch-${name}`] = $event"
|
||||
>
|
||||
@ -35,8 +35,8 @@
|
||||
:is="options.radio ? 'RadioButton' : 'CheckBox'"
|
||||
v-for="name of Object.keys(options.switches)"
|
||||
:key="name"
|
||||
:class="{ dim: isDim(name) }"
|
||||
v-bind="options.switchProps || {}"
|
||||
:class="{ dim: isDim(name) }"
|
||||
:checked="componentOptions[`switch-${name}`]"
|
||||
@update:checked="componentOptions[`switch-${name}`] = $event"
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user