mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +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;
|
type.value = options.type;
|
||||||
updateIds.value = options.updateIds;
|
updateIds.value = options.updateIds;
|
||||||
categoryId.value = '';
|
categoryId.value = '';
|
||||||
|
submitting.value = false;
|
||||||
showState.value = true;
|
showState.value = true;
|
||||||
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user