修改直播添加商品成功失败的提示

This commit is contained in:
xuwenbo
2020-09-12 23:26:59 +08:00
parent 40491b605a
commit 21e98265ba

View File

@ -304,10 +304,10 @@ export default {
"productId": this.form.productId "productId": this.form.productId
} }
addGoods(params).then(res=>{ addGoods(params).then(res=>{
console.log(res,89888) this.closeDialogVisible=false;
this.closeDialogVisible=true; this.$message.success("添加成功");
}).catch(err => { }).catch(err => {
this.$message.error(res.msg);
}) })
}); });
}, },