Commit ddfbb107 authored by xieyishang's avatar xieyishang

sss

parent dfb90a14
......@@ -174,19 +174,23 @@
deleteGoods({
goods_id:items.goods_id,
}).then((res)=>{
if(res.code==0){
this.$api.msg(res.msg);
// this.goodsListdata.splice(index,1);//本地删除
//刷新列表
this.goodsListdata = [];
this.page = 0;
this.isshowall = true;
this.getgoodsListfun();
}else{
this.$api.msg(res.msg)
}
//刷新列表
this.goodsListdata = [];
this.page = 0;
this.isshowall = true;
this.getgoodsListfun();
})
......
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