Commit 5cb71bec authored by liwenhong's avatar liwenhong

fix:valid time

parent 94a84bc3
......@@ -453,7 +453,7 @@ export default {
this.$router.push({ name: "GoodsDetail", params: { operation, spuId } });
},
handleGoodOnline(item) {
item.online_start_time && (this.addTimeRange = [item.online_start_time, item.online_end_time]);
item.online_start_time && item.online_end_time && (this.addTimeRange = [item.online_start_time, item.online_end_time]);
this.showGoodsAddTime = true;
this.checkedAddTime.online_type = item.online_type || 3;
this.checkedAddTime.goods_spu_id = item.goods_spu_id;
......
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