reset submitting state when opening the dialog

This commit is contained in:
MaysWind
2026-04-25 20:07:10 +08:00
parent e4e74304b6
commit bb2068f4db
@@ -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) => {