clear the data of the last unfinished calculation when opening the number pad sheet
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user