fix:修改添加notification后调用错查询接口的问题

This commit is contained in:
zhangyu
2020-12-01 17:57:47 +08:00
parent bd4eb8cd07
commit d17ed18a36

View File

@@ -825,9 +825,9 @@
});
},
notificationAddCallBack(){
this.$get('/link').then(response=>{
this.notification.push(response.data[response.data.length-1]);
this.notificationReserved.push(response.data[response.data.length-1]);
this.$get('/alert/script').then(response=>{
this.notification.push(response.data.list[response.data.list.length-1]);
this.notificationReserved.push(response.data.list[response.data.list.length-1]);
// this.$store.commit('setLinkData',this.link);
});
},