Showing
2 changed files
with
2 additions
and
2 deletions
@@ -71,7 +71,7 @@ export default { | @@ -71,7 +71,7 @@ export default { | ||
71 | }, | 71 | }, |
72 | methods: { | 72 | methods: { |
73 | deliver(code, status) { | 73 | deliver(code, status) { |
74 | - const routerName = status === 200 ? 'order.deliver.step1' : 'order.deliver.step3'; | 74 | + const routerName = status === 100 ? 'order.deliver.step1' : 'order.deliver.step3'; |
75 | this.$router.push({ | 75 | this.$router.push({ |
76 | name: routerName, | 76 | name: routerName, |
77 | params: {}, | 77 | params: {}, |
@@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
93 | }, | 93 | }, |
94 | prodImage, | 94 | prodImage, |
95 | deliver(code, status) { | 95 | deliver(code, status) { |
96 | - const routerName = status === 200 ? 'order.deliver.step1' : 'order.deliver.step3'; | 96 | + const routerName = status === 100 ? 'order.deliver.step1' : 'order.deliver.step3'; |
97 | this.$router.push({ | 97 | this.$router.push({ |
98 | name: routerName, | 98 | name: routerName, |
99 | params: {}, | 99 | params: {}, |
-
Please register or login to post a comment