mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +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"
|
||||
:class="{ 'frequency-value-selected v-list-item--active text-primary': isFrequencyValueSelected(weekDay.type) }"
|
||||
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>
|
||||
</template>
|
||||
</v-list-item>
|
||||
@@ -43,7 +43,7 @@
|
||||
<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) }"
|
||||
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>
|
||||
</template>
|
||||
</v-list-item>
|
||||
|
||||
Reference in New Issue
Block a user