class Store { data = { locationName: '', participatorList: {}, showParticipatorList: [], roomId: '', startTime: '', endTime: '', currentPeople: '', originUsers: [], originalData: null, indexNeedUpdate: false, isIndexAffairListNeedUpdate: false, tabBarIndex: '0', updateInfo: { updateType: '', isUpate: false }, onceMeetingContent: null, relatedAppNeedUpdate: false, } resetData() { this.data.roomId = '' this.data.participatorList = {} this.data.showParticipatorList = [] this.data.originUsers = [] this.data.locationName = '' this.data.onceMeetingContent = null this.update(); } resetEditData() { this.data.roomId = '' this.data.originUsers = [] this.data.participatorList = {} this.data.showParticipatorList = [] this.data.locationName = '' this.data.updateInfo = { updateType: '', isUpate: false } this.update() } } export default new Store();