fix tag style

This commit is contained in:
Timi
2026-08-13 20:49:50 +08:00
parent 6ebd83edbc
commit 4f8b992350
6 changed files with 140 additions and 17 deletions
@@ -38,7 +38,7 @@ const emit = defineEmits<{
edit: [];
}>();
const maxRowCount = 5;
const maxRowCount = 3;
const tagRowList = computed(() => {
const rowCount = Math.min(maxRowCount, props.tagList.length);
const rowList = Array.from({ length: rowCount }, () => [] as Tag[]);