Vanessa 2025-09-30 21:48:15 +08:00
parent 6ef3b66d5c
commit 15a2a7f758

View file

@ -869,8 +869,9 @@ export const updateCellsValue = async (protyle: IProtyle, nodeElement: HTMLEleme
if (type === "date") {
if (!(value && typeof value === "object" && typeof value.isNotTime === "boolean")) {
const response = await fetchSyncPost("/api/av/getAttributeViewKeysByID", {avID: avID, keyIDs: [colId]});
cellValue.date.isNotTime = true;
if (response.data[0].date) {
cellValue.date.isNotTime = !response.data[0].date.fillSpecificTime;
}
}
cellValue.date.formattedContent = oldValue.date.formattedContent;
}