mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
code refactor
This commit is contained in:
@@ -56,9 +56,7 @@ const { tt } = useI18n();
|
||||
const currentValue = ref<string>(props.modelValue);
|
||||
const itemPerRow = ref<number>(props.columnCount || 7);
|
||||
|
||||
const allIconRows = computed<IconInfoWithId[][]>(() => {
|
||||
return getIconsInRows(props.allIconInfos, itemPerRow.value);
|
||||
});
|
||||
const allIconRows = computed<IconInfoWithId[][]>(() => getIconsInRows(props.allIconInfos, itemPerRow.value));
|
||||
|
||||
const heightClass = computed<string>(() => {
|
||||
if (allIconRows.value.length > 10) {
|
||||
|
||||
Reference in New Issue
Block a user