Vanessa 2025-06-22 23:51:04 +08:00
parent 5115305c2d
commit f44dc5406e

View file

@ -1188,7 +1188,7 @@ export const cellValueIsEmpty = (value: IAVCellValue) => {
return !value[value.type as "text"]?.content;
}
if (["mSelect", "mAsset", "select"].includes(value.type)) {
if (value[value.type as "mSelect"]?.length > 0) {
if (value[(value.type === "select" ? "mSelect" : value.type) as "mSelect"]?.length > 0) {
return false;
}
return true;