style: 优化部分样式,保持一致性

This commit is contained in:
zhuoqinglian
2026-01-20 15:35:41 +08:00
parent 2948ed091c
commit e0b4431064
8 changed files with 17 additions and 10 deletions
@@ -395,7 +395,10 @@ export default {
// 获取设备状态
fetchDeviceStatus(agentId) {
// 开启表格等待状态,处理动态加载表头导致鼠标所在行的hover事件无法移除的问题
this.loading = true;
Api.device.getDeviceStatus(agentId, ({ data }) => {
this.loading = false;
if (data.code === 0) {
try {
// 解析后端返回的设备状态JSON