修改细节

version/0412
fanfan 11 months ago
parent 835ce3db59
commit c5787087bb
  1. 4
      pages/goods/detail.vue

@ -552,7 +552,6 @@
}, },
methods: { methods: {
getprice(e) { getprice(e) {
console.log(e)
let that=this let that=this
let params = { let params = {
goods_id:that.goods.goods_id, goods_id:that.goods.goods_id,
@ -565,11 +564,10 @@
} }
GoodsApi.editGoodsSeckillPrice(params).then(res => { GoodsApi.editGoodsSeckillPrice(params).then(res => {
if (res.status == 200) { if (res.status == 200) {
console.log(res)
that.$toast("设置成功"); that.$toast("设置成功");
this.$refs.setRange.afterSale = false; this.$refs.setRange.afterSale = false;
setTimeout(() => { setTimeout(() => {
// that.getGoodsDetail(1); that.getGoodsDetail(1);
}, 500) }, 500)
} }
}) })

Loading…
Cancel
Save