mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
c202d58bce
commit
fa17345793
1 changed files with 6 additions and 1 deletions
|
|
@ -1394,13 +1394,18 @@ export const openMenuPanel = (options: {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "clearDate") {
|
||||
const colData = fields.find((item: IAVColumn) => {
|
||||
if (item.id === options.cellElements[0].getAttribute("data-col-id")) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
updateCellsValue(options.protyle, options.blockElement as HTMLElement, {
|
||||
isNotEmpty2: false,
|
||||
isNotEmpty: false,
|
||||
content: null,
|
||||
content2: null,
|
||||
hasEndDate: false,
|
||||
isNotTime: true,
|
||||
isNotTime: !colData.date.fillSpecificTime,
|
||||
}, options.cellElements);
|
||||
avPanelElement.remove();
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue