This commit is contained in:
Vanessa 2023-07-16 22:28:47 +08:00
parent a809c4655e
commit a0b1034019

View file

@ -377,8 +377,8 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAV, options: {
cellData = row.cells[cellIndex];
// 为空时 cellId 每次请求都不一致
cellData.id = options.cellElement.dataset.id;
if (!cellData.value) {
cellData.value = {mSelect:[]} as IAVCellValue;
if (!cellData.value || !cellData.value.mSelect) {
cellData.value = {mSelect: []} as IAVCellValue;
}
return true;
}