fix: network_status
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
<view v-if="isDevice" class="tag-apple" :class="onlineStatus === '在线' ? 'tag-success' : 'tag-warning'">
|
||||
{{ onlineStatus }}
|
||||
</view>
|
||||
<view v-else class="tag-apple">
|
||||
{{ onlineStatus }}
|
||||
<view v-else class="tag-apple" :class="networkStatus == 1 ? 'tag-success' : 'tag-warning'">
|
||||
{{ networkStatus == 1 ? '正常' : '停机' }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -31,6 +31,7 @@
|
||||
currentCardNo: { type: String, default: '' },
|
||||
deviceInfo: { type: Object, default: () => ({}) },
|
||||
onlineStatus: { type: String, default: '离线' },
|
||||
networkStatus: { type: String, default: '离线' },
|
||||
isDevice: { type: Boolean, default: true }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user