modify style

This commit is contained in:
MaysWind
2024-06-29 11:13:25 +08:00
parent 640f74c612
commit 023d875a00
2 changed files with 21 additions and 0 deletions
@@ -138,6 +138,9 @@
:loading="categoryHiding[element.id]"
:disabled="loading || updating"
@click="hide(element, !element.hidden)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ element.hidden ? $t('Show') : $t('Hide') }}
</v-btn>
<v-btn class="px-2" color="default"
@@ -155,6 +158,9 @@
:loading="categoryRemoving[element.id]"
:disabled="loading || updating"
@click="remove(element)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ $t('Delete') }}
</v-btn>
<span class="ml-2">
+15
View File
@@ -114,6 +114,9 @@
:disabled="loading || updating"
v-if="editingTag.id !== element.id"
@click="hide(element, !element.hidden)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ element.hidden ? $t('Show') : $t('Hide') }}
</v-btn>
<v-btn class="px-2" color="default"
@@ -124,6 +127,9 @@
:disabled="loading || updating"
v-if="editingTag.id !== element.id"
@click="edit(element)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ $t('Edit') }}
</v-btn>
<v-btn class="px-2" color="default"
@@ -134,6 +140,9 @@
:disabled="loading || updating"
v-if="editingTag.id !== element.id"
@click="remove(element)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ $t('Delete') }}
</v-btn>
<v-btn class="px-2"
@@ -142,6 +151,9 @@
:loading="tagUpdating[element.id]"
:disabled="loading || updating || !isTagModified(element)"
v-if="editingTag.id === element.id" @click="save(editingTag)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ $t('Save') }}
</v-btn>
<v-btn class="px-2" color="default"
@@ -182,6 +194,9 @@
:loading="tagUpdating[null]"
:disabled="loading || updating || !isTagModified(newTag)"
@click="save(newTag)">
<template #loader>
<v-progress-circular indeterminate size="20" width="2"/>
</template>
{{ $t('Save') }}
</v-btn>
<v-btn class="px-2" color="default"