mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
code refactor
This commit is contained in:
@@ -69,7 +69,7 @@ const icons = {
|
||||
checked: mdiCheck
|
||||
};
|
||||
|
||||
const dropdownMenu: Ref<HTMLElement | null> = useTemplateRef('dropdownMenu');
|
||||
const dropdownMenu = useTemplateRef<HTMLElement>('dropdownMenu');
|
||||
const itemPerRow: Ref<number> = ref(props.columnCount || 7);
|
||||
|
||||
const allColorRows = computed<ColorInfo[][]>(() => {
|
||||
|
||||
@@ -67,7 +67,7 @@ const icons = {
|
||||
checked: mdiCheck
|
||||
};
|
||||
|
||||
const dropdownMenu: Ref<HTMLElement | null> = useTemplateRef('dropdownMenu');
|
||||
const dropdownMenu = useTemplateRef<HTMLElement>('dropdownMenu');
|
||||
const itemPerRow: Ref<number> = ref(props.columnCount || 7);
|
||||
|
||||
const allIconRows = computed<IconInfoWithId[][]>(() => {
|
||||
|
||||
Reference in New Issue
Block a user