PAMapp/store/index.ts | ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程 |
PAMapp/store/index.ts
@@ -150,7 +150,9 @@ @Action storeMyPersonalNotification() { reviewsService.getMyPersonalNotification().then(data => { this.context.commit('updateNotification', data); const sortData = data .sort((preItem, nextItem) => +new Date(nextItem.createdDate) - +new Date(preItem.createdDate)) this.context.commit('updateNotification', sortData); }) }