作者 倪静楠

6/25

... ... @@ -754,7 +754,8 @@
// console.log(this.id == 'undefined' ? this.goods_id + 'goods' : this.id + 'id', '参数')
request.get('/api/msg/allMsg', {
// goods_id: this.id== || this.goods_id
goods_id: this.id == undefined || this.id == 'undefined' ? this.goods_id : this.id
goods_id: this.id == undefined || this.id == 'undefined' ? this.goods_id : this.id,
is_good:this.id == undefined || this.id == 'undefined' ?1 :0,
}).then(res => {
console.log(res.data.info, 'ressss')
this.messageList = res.data.info
... ...