clear the data of the last unfinished calculation when opening the number pad sheet

This commit is contained in:
MaysWind
2025-07-28 23:17:39 +08:00
parent d146a99c65
commit 880b614636
+2
View File
@@ -361,6 +361,8 @@ function close(): void {
function onSheetOpen(): void { function onSheetOpen(): void {
currentValue.value = getInitedStringValue(props.modelValue, props.flipNegative); currentValue.value = getInitedStringValue(props.modelValue, props.flipNegative);
previousValue.value = '';
currentSymbol.value = '';
} }
function onSheetClosed(): void { function onSheetClosed(): void {