Browse Source

提交订单bug

panhui 5 years ago
parent
commit
9628ca6da3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/submit.vue

+ 1 - 1
src/pages/submit.vue

@@ -184,7 +184,7 @@ export default {
                         { header: { 'Content-Type': 'application/json' } }
                     )
                     .then(res => {
-                        if (res.data.code === 200) {
+                        if (res.data.result === '0') {
                             this.$loading.close();
                             wx.redirectTo({
                                 url: '/pages/order/orderList'