Component({ properties: { list1: { type: Array }, list2: { type: Array } }, data: { showAll: false }, methods: { onChange({ detail }) { this.setData({ showAll: detail }) } } })