vue+element下拉框实现二级联动

参考文章:https://blog.csdn.net/qq_42341025/article/details/86601093


        
          
        
        -
        
          
        
      

1.页面一加载就开始获取现有商品信息(及一级菜单),然后得到的数组重新整合赋给favorites
2.


------------------------------------------------------------华丽分割线---------------------------------------------------------
后因业务需求,所以做了改善


          
        
        全选
        
          
            
              
              
              

{{item.title}}

优惠券数量: {{item.couponRemainCount}} / {{item.couponTotalCount}}

this.checkAll = checkedCount === this.localFavorites.length;这里一定要和原数组作比较


                    
                    

你可能感兴趣的:(vue)