This commit is contained in:
Daniel 2025-07-25 11:56:32 +08:00
parent 9d4c47ee87
commit 0d5320f08b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 8 additions and 48 deletions

View file

@ -164,7 +164,7 @@ export const bindGroupsNumber = (options: {
export const getGroupsHTML = (columns: IAVColumn[], view: IAVView) => {
let html = "";
let column: IAVColumn;
if (view.group && view.group.field) {
if (view.group && view.group.field && view.groups) {
let groupHTML = "";
column = columns.find(item => item.id === view.group.field);
if (view.groups.length > 0) {