目录 1、数据源 1、方式一 2、方式二 1、数据源 let arr = [{ id: 1, title: '计算机' }, { id: 2, title: '手机' }, { id: 3, title: '平板' }, { id: ...