0
0

chore(client): improve usability

This commit is contained in:
syuilo 2023-02-10 11:04:11 +09:00
parent adad4bcfe3
commit 3c504b4b08

View File

@ -1,5 +1,5 @@
<template>
<button class="_button" :class="$style.root" @click="toggle">
<button class="_button" :class="$style.root" @mousedown="toggle">
<b>{{ modelValue ? i18n.ts._cw.hide : i18n.ts._cw.show }}</b>
<span v-if="!modelValue" :class="$style.label">{{ label }}</span>
</button>