mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -294,9 +294,9 @@ const updateCellValue = (protyle: IProtyle, type: TAVCol, cellElements: HTMLElem
|
||||
checked?: boolean,
|
||||
} = {};
|
||||
if (type === "number") {
|
||||
oldValue.content = parseFloat(oldValue.content as string);
|
||||
oldValue.content = parseFloat(item.textContent.trim());
|
||||
oldValue.isNotEmpty = typeof oldValue.content === "number" && !isNaN(oldValue.content);
|
||||
inputValue.content = parseFloat(inputValue.content as string);
|
||||
inputValue.content = parseFloat((avMaskElement.querySelector(".b3-text-field") as HTMLInputElement).value);
|
||||
inputValue.isNotEmpty = typeof inputValue.content === "number" && !isNaN(inputValue.content);
|
||||
} else if (type === "checkbox") {
|
||||
const useElement = item.querySelector("use");
|
||||
|
||||
Reference in New Issue
Block a user