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>