|
@@ -281,17 +281,17 @@ export default {
|
|
}
|
|
}
|
|
console.log(that.arrbig)
|
|
console.log(that.arrbig)
|
|
// that.reqData.image=that.koutu;
|
|
// that.reqData.image=that.koutu;
|
|
- // myRequest({
|
|
|
|
- // url: "/api/Goods/addGodds",
|
|
|
|
- // method:'post',
|
|
|
|
- // data:that.reqData
|
|
|
|
- // }).then(res => {
|
|
|
|
- // if (res.data.code == 200) {
|
|
|
|
- // that.active=3;
|
|
|
|
- // }else{
|
|
|
|
- // that.$refs.toast.show({model:'error',label:res.data.msg})
|
|
|
|
- // }
|
|
|
|
- // })
|
|
|
|
|
|
+ myRequest({
|
|
|
|
+ url: "/api/Goods/addGodds",
|
|
|
|
+ method:'post',
|
|
|
|
+ data:that.arrbig
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if (res.data.code == 200) {
|
|
|
|
+ that.active=3;
|
|
|
|
+ }else{
|
|
|
|
+ that.$refs.toast.show({model:'error',label:res.data.msg})
|
|
|
|
+ }
|
|
|
|
+ })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
}
|
|
}
|