Commit e539d99c by zhouzy

解决了商品和汽车首页展示的问题

1 parent 5f384ff7
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
.then((res) => { .then((res) => {
this.getCarList() this.getCarList()
}) })
} else { } else if(row.mainPageFlag == 1){
carEquityManageApi carEquityManageApi
.cardsDisplay({ id: row.id, mainPageFlag: 0 }) .cardsDisplay({ id: row.id, mainPageFlag: 0 })
.then((res) => { .then((res) => {
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
.then((res) => { .then((res) => {
this.getCategoryList() this.getCategoryList()
}) })
} else { } else if(row.mainPageFlag == 1){
goodsEquityManageApi goodsEquityManageApi
.goodsDisplay({ id: row.id, mainPageFlag: 0 }) .goodsDisplay({ id: row.id, mainPageFlag: 0 })
.then((res) => { .then((res) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!