设置菜单的选中状态

思路:将当前点中的菜单索引赋值给priceChecked,如果class为true,则设置为选中状态,默认选中ALL

 

 

原文地址:https://www.cnblogs.com/psxiao/p/11965297.html