mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +08:00
reset submitting state when opening the dialog
This commit is contained in:
@@ -143,6 +143,7 @@ function open(options: { type: CategoryType; updateIds: string[] }): Promise<num
|
||||
type.value = options.type;
|
||||
updateIds.value = options.updateIds;
|
||||
categoryId.value = '';
|
||||
submitting.value = false;
|
||||
showState.value = true;
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user