From 9b522d5a943525698d57f919a93b2af8cda608a8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 05 十一月 2025 10:01:00 +0800
Subject: [PATCH] 通知公告-加一个时间限制,过时后状态改为已过期
---
src/views/monitor/server/index.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/monitor/server/index.vue b/src/views/monitor/server/index.vue
index 5eb7945..d9840ac 100644
--- a/src/views/monitor/server/index.vue
+++ b/src/views/monitor/server/index.vue
@@ -171,6 +171,7 @@
<script setup>
import { getServer } from '@/api/monitor/server'
+import {onMounted} from "vue";
const server = ref([])
const { proxy } = getCurrentInstance()
@@ -183,5 +184,7 @@
})
}
-getList()
+onMounted(() => {
+ getList();
+});
</script>
--
Gitblit v1.9.3