mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
fix bug
This commit is contained in:
parent
027380c013
commit
f9185f201a
1 changed files with 3 additions and 3 deletions
|
@ -13,11 +13,11 @@ export default defineComponent({
|
|||
return withDirectives(h('div', {
|
||||
class: 'pxhvhrfw',
|
||||
}, options.map(option => withDirectives(h('button', {
|
||||
class: ['_button', { active: this.modelValue === option.props.modelValue }],
|
||||
class: ['_button', { active: this.modelValue === option.props.value }],
|
||||
key: option.key,
|
||||
disabled: this.modelValue === option.props.modelValue,
|
||||
disabled: this.modelValue === option.props.value,
|
||||
onClick: () => {
|
||||
this.$emit('update:modelValue', option.props.modelValue);
|
||||
this.$emit('update:modelValue', option.props.value);
|
||||
}
|
||||
}, option.children), [
|
||||
[resolveDirective('click-anime')]
|
||||
|
|
Loading…
Reference in a new issue