fix: status
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s

This commit is contained in:
sexygoat
2026-04-15 16:10:20 +08:00
parent 6da9353203
commit 8bf89dbe57
3 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
{{ onlineStatus }}
</view>
<view v-else class="status-text">
{{ status }}
{{ networkStatus === 0 ? '停机' : '正常' }}
</view>
</view>
</view>
@@ -32,7 +32,7 @@
deviceInfo: { type: Object, default: () => ({}) },
onlineStatus: { type: String, default: '离线' },
isDevice: { type: Boolean, default: true },
status: { type: [String, Number], default: '' }
networkStatus: { type: Number, default: 1 }
});
// 默认头像