Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -247,7 +247,7 @@ export default { |
| 247 | 247 | const payload = { ...this.form } |
| 248 | 248 | console.log('onSubmit__payload', payload) |
| 249 | 249 | try { |
| 250 | - await updateApi(payload) | |
| 250 | + await createApi(payload) | |
| 251 | 251 | uni.showToast({ title: '保存成功', icon: 'success' }) |
| 252 | 252 | setTimeout(() => { uni.redirectTo({ url: '/pages/order_list/index' }) }, 300) |
| 253 | 253 | } catch (e) { | ... | ... |