Component({ data: { loadMoreStatus: 'more' }, properties: { handleProgressList: { type: Array, value: [] }, peopleFlag: { type: String, value: '' } }, lifetimes: { attached() { }, }, pageLifetimes: { }, methods: { changeMoreOrLess() { this.setData({ loadMoreStatus: this.data.loadMoreStatus === 'more' ? 'less' : 'more' }) } } })