Commit 78e782b9 by cwq0219

首页设置

1 parent 0f299066
...@@ -405,7 +405,7 @@ export default { ...@@ -405,7 +405,7 @@ export default {
this.curBanner.targetItem = targetItem this.curBanner.targetItem = targetItem
switch(this.editForm.bannerList[idx].bannerType) { switch(this.editForm.bannerList[idx].bannerType) {
case '1': case '1':
this.handleSinglePro() this.handleSinglePro(targetItem, idx)
break; break;
case '2': case '2':
break; break;
...@@ -470,7 +470,9 @@ export default { ...@@ -470,7 +470,9 @@ export default {
this.editForm.bannerList[idx].bannerType = '0' this.editForm.bannerList[idx].bannerType = '0'
}, },
// 商品选择-start // 商品选择-start
handleSinglePro() { handleSinglePro(targetItem, idx) {
this.curBanner.idx = idx
this.curBanner.targetItem = targetItem
this.selectedProInfo = this.editForm.bannerList[this.curBanner.idx].goods ? this.$common.utils.deepClone(this.editForm.bannerList[this.curBanner.idx].goods) : {} this.selectedProInfo = this.editForm.bannerList[this.curBanner.idx].goods ? this.$common.utils.deepClone(this.editForm.bannerList[this.curBanner.idx].goods) : {}
this.handleSingleSelectClose() this.handleSingleSelectClose()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!