mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
This commit is contained in:
parent
c664dccc6c
commit
70b3406e03
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue