1
0
forked from ruoyi/RuoYi-Vue

remove all semicolons

This commit is contained in:
RuoYi
2025-04-27 10:05:55 +08:00
parent f30e737be2
commit 62630a5a95
92 changed files with 2285 additions and 2287 deletions

View File

@@ -176,7 +176,7 @@
</template>
<script>
import { getServer } from "@/api/monitor/server";
import { getServer } from "@/api/monitor/server"
export default {
name: "Server",
@@ -184,24 +184,24 @@ export default {
return {
// 服务器信息
server: []
};
}
},
created() {
this.getList();
this.openLoading();
this.getList()
this.openLoading()
},
methods: {
/** 查询服务器信息 */
getList() {
getServer().then(response => {
this.server = response.data;
this.$modal.closeLoading();
});
this.server = response.data
this.$modal.closeLoading()
})
},
// 打开加载层
openLoading() {
this.$modal.loading("正在加载服务监控数据,请稍候!");
this.$modal.loading("正在加载服务监控数据,请稍候!")
}
}
};
}
</script>