diff --git a/nezha-fronted/src/components/page/config/system.vue b/nezha-fronted/src/components/page/config/system.vue index 794de10e0..ff020e2c4 100644 --- a/nezha-fronted/src/components/page/config/system.vue +++ b/nezha-fronted/src/components/page/config/system.vue @@ -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); }); },