diff --git a/src/views/rescue/index.vue b/src/views/rescue/index.vue
index 54b2703..bf1da39 100644
--- a/src/views/rescue/index.vue
+++ b/src/views/rescue/index.vue
@@ -263,13 +263,13 @@
- 查看
-
+ -->
{
- // // 在这里执行你的方法
- // this.getData()
- // // 例如:
+ this.setAllRead()
+ setInterval(() => {
+ // 在这里执行你的方法
+ this.getData()
+ // 例如:
- // }, 3000) // 每2秒执行一次
+ }, 3000) // 每2秒执行一次
},
mounted() {