mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
code refactor
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
<v-list-item :key="weekDay.type" :value="weekDay.type" :title="weekDay.displayName"
|
<v-list-item :key="weekDay.type" :value="weekDay.type" :title="weekDay.displayName"
|
||||||
:class="{ 'frequency-value-selected v-list-item--active text-primary': isFrequencyValueSelected(weekDay.type) }"
|
:class="{ 'frequency-value-selected v-list-item--active text-primary': isFrequencyValueSelected(weekDay.type) }"
|
||||||
v-for="weekDay in allWeekDays">
|
v-for="weekDay in allWeekDays">
|
||||||
<template v-slot:prepend="{ isActive }">
|
<template #prepend="{ isActive }">
|
||||||
<v-checkbox density="compact" class="mr-1" :model-value="isActive"></v-checkbox>
|
<v-checkbox density="compact" class="mr-1" :model-value="isActive"></v-checkbox>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
<v-list-item :key="monthDay.day" :value="monthDay.day" :title="monthDay.displayName"
|
<v-list-item :key="monthDay.day" :value="monthDay.day" :title="monthDay.displayName"
|
||||||
:class="{ 'frequency-value-selected v-list-item--active text-primary': isFrequencyValueSelected(monthDay.day) }"
|
:class="{ 'frequency-value-selected v-list-item--active text-primary': isFrequencyValueSelected(monthDay.day) }"
|
||||||
v-for="monthDay in allAvailableMonthDays">
|
v-for="monthDay in allAvailableMonthDays">
|
||||||
<template v-slot:prepend="{ isActive }">
|
<template #prepend="{ isActive }">
|
||||||
<v-checkbox density="compact" class="mr-1" :model-value="isActive"></v-checkbox>
|
<v-checkbox density="compact" class="mr-1" :model-value="isActive"></v-checkbox>
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|||||||
Reference in New Issue
Block a user