保誠-保戶業務員媒合平台
Mila
2022-01-24 278a64e02f22d46ec5652d1c3e0906a23daf120c
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);
        })
    }