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

@@ -1,6 +1,6 @@
<template>
<view class="container">
<UserInfoCard :currentCardNo="currentCardNo" :deviceInfo="deviceInfo" :onlineStatus="onlineStatus" :isDevice="userInfo.isDevice" :status="deviceInfo.status" />
<UserInfoCard :currentCardNo="currentCardNo" :deviceInfo="deviceInfo" :onlineStatus="onlineStatus" :isDevice="userInfo.isDevice" :networkStatus="deviceInfo.network_status" />
<DeviceStatusCard v-if="userInfo.isDevice" :deviceInfo="deviceInfo" :isRealName="isRealName"
@authentication="enterDetail('authentication')" />
@@ -144,7 +144,7 @@
let deviceInfo = reactive({
battery: 0,
connect: 0,
status: 1,
network_status: 1,
expireDate: '-',
currentIccid: '-',
category: '-',
@@ -214,7 +214,7 @@
// 基本信息
userInfo.isDevice = data.asset_type === 'device';
currentCardNo.value = data.identifier || '-';
deviceInfo.status = data.status;
deviceInfo.network_status = data.network_status;
deviceInfo.imei = data.imei || '-';
deviceInfo.asset_type = data.asset_type || 'device';
deviceInfo.bound_phone = data.bound_phone || '';