diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-01 19:34:24 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-10-01 19:34:24 +0900 |
| commit | f9185f201aebf4e5cf870162ec82a93688268b7b (patch) | |
| tree | 8f670a054e08c9737b5c17e981d9a537918b622a /src/client | |
| parent | fix bug (diff) | |
| download | sharkey-f9185f201aebf4e5cf870162ec82a93688268b7b.tar.gz sharkey-f9185f201aebf4e5cf870162ec82a93688268b7b.tar.bz2 sharkey-f9185f201aebf4e5cf870162ec82a93688268b7b.zip | |
fix bug
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/components/tab.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/components/tab.vue b/src/client/components/tab.vue index 7705fc3d6d..58538c2ca1 100644 --- a/src/client/components/tab.vue +++ b/src/client/components/tab.vue @@ -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')] |