ustbhuangyi / vue-sell

:rice: Vue.js高仿饿了么外卖App课程源码 http://coding.imooc.com/class/74.html
3.46k stars 1.36k forks source link

goods.vue右侧菜品过少,左侧目录就不能选中 #38

Open chengnan114 opened 7 years ago

chengnan114 commented 7 years ago

:class="{'current':currentIndex===index}" 如果目录底部最后一个对应的菜品过少,点击时相应目录就不能选中,只能选中上一个的,请问这样怎么改代码

shinyyue commented 6 years ago

遇到了同样的问题

xihadandan commented 6 years ago

最后你们怎么决定的?