diff --git a/components/FunctionCard.vue b/components/FunctionCard.vue index 7ec88c4..7d844f3 100644 --- a/components/FunctionCard.vue +++ b/components/FunctionCard.vue @@ -39,7 +39,7 @@ 切换运营商 - + 资产套餐历史 diff --git a/components/UserInfoCard.vue b/components/UserInfoCard.vue index 3f7a677..6c045e6 100644 --- a/components/UserInfoCard.vue +++ b/components/UserInfoCard.vue @@ -15,7 +15,7 @@ {{ onlineStatus }} - {{ status }} + {{ networkStatus === 0 ? '停机' : '正常' }} @@ -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 } }); // 默认头像 diff --git a/pages/index/index.vue b/pages/index/index.vue index 712be9e..4ad9fb9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,6 +1,6 @@