Commit ddfbb107 authored by xieyishang's avatar xieyishang

sss

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