Commit 0371a523ec11f7f2a9a68b16ebf7926428373ed2

Authored by fengtao
1 parent ec28962b

fix:修改组织管理重复提交问题

@@ -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