Commit b6f16ac6 authored by Morson's avatar Morson

fix(*):修复参数问题

parent 2bb8c84a
...@@ -86,14 +86,15 @@ ...@@ -86,14 +86,15 @@
if(!this.validateForm()) { if(!this.validateForm()) {
return false return false
} }
let params = {}
if(this.curWay == 0) { if(this.curWay == 0) {
const params = { params = {
parts: JSON.stringify(this.parts), parts: JSON.stringify(this.parts),
expressCom: this.expressCom, expressCom: this.expressCom,
expressNumber: this.expressNumber expressNumber: this.expressNumber
} }
} else { } else {
const params = {parts: JSON.stringify(this.parts)} params = {parts: JSON.stringify(this.parts)}
} }
this.$u.api.returnParts(params).then((res) => { this.$u.api.returnParts(params).then((res) => {
if(res.code == 200 && res.data) { if(res.code == 200 && res.data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment