mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-21 18:35:53 +08:00
商家端添加注释,删除无用代码,优化样式
This commit is contained in:
@@ -144,6 +144,7 @@ export default {
|
||||
],
|
||||
// 表格商品详情
|
||||
liveGoodsData: [],
|
||||
// 已选商品
|
||||
selectedGoods: [],
|
||||
};
|
||||
},
|
||||
@@ -208,18 +209,6 @@ export default {
|
||||
* 回调参数补充
|
||||
*/
|
||||
selectedLiveGoods(val, index) {
|
||||
// if (!val.___selected) {
|
||||
// val.___selected = true;
|
||||
// this.$set(this.liveGoodsData[index], "___selected", true);
|
||||
// this.selectedGoods.push(this.liveGoodsData[index]);
|
||||
// } else {
|
||||
// this.$nextTick(() => {
|
||||
// val.___selected = false;
|
||||
|
||||
// this.$set(this.liveGoodsData[index], "___selected", true);
|
||||
// this.selectedGoods.splice(index, 1);
|
||||
// });
|
||||
// }
|
||||
|
||||
this.$emit("selectedGoods", val);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user