mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
6ef3b66d5c
commit
15a2a7f758
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue