Commit 128152b7ab7d73acb44c9cea04417b07a5266219
1 parent
6f9f5d40
fix:DEFECT-825 新增租户时,有未填入项,然后点确认一直转圈,需要点取消和刷新才能重新操作,编辑也一样
Showing
1 changed file
with
4 additions
and
1 deletions
... | ... | @@ -142,6 +142,7 @@ |
142 | 142 | }; |
143 | 143 | updateOrCreateTenant(req) |
144 | 144 | .then((res) => { |
145 | + console.log(res); | |
145 | 146 | closeDrawer(); //关闭侧框 |
146 | 147 | emit('success'); |
147 | 148 | setTimeout(() => { |
... | ... | @@ -159,9 +160,11 @@ |
159 | 160 | }); |
160 | 161 | } catch (e) { |
161 | 162 | } finally { |
163 | + setTimeout(() => { | |
164 | + setDrawerProps({ confirmLoading: false }); | |
165 | + }, 300); | |
162 | 166 | } |
163 | 167 | } |
164 | - | |
165 | 168 | return { |
166 | 169 | registerDrawer, |
167 | 170 | tenantForm, | ... | ... |