Showing
1 changed file
with
1 additions
and
2 deletions
@@ -67,9 +67,9 @@ | @@ -67,9 +67,9 @@ | ||
67 | 67 | ||
68 | //提交按钮 | 68 | //提交按钮 |
69 | async function handleSubmit() { | 69 | async function handleSubmit() { |
70 | + setDrawerProps({ confirmLoading: true }); | ||
70 | try { | 71 | try { |
71 | const values = await validate(); | 72 | const values = await validate(); |
72 | - setDrawerProps({ confirmLoading: true }); | ||
73 | if (isUpdate.value) { | 73 | if (isUpdate.value) { |
74 | Reflect.set(values, 'id', organizationId); | 74 | Reflect.set(values, 'id', organizationId); |
75 | } | 75 | } |
@@ -82,7 +82,6 @@ | @@ -82,7 +82,6 @@ | ||
82 | emit('success'); | 82 | emit('success'); |
83 | } catch { | 83 | } catch { |
84 | } finally { | 84 | } finally { |
85 | - setDrawerProps({ confirmLoading: false }); | ||
86 | } | 85 | } |
87 | } | 86 | } |
88 | 87 |