From 0ca4cd57861b812186cbfae2c36c247fc44534ab Mon Sep 17 00:00:00 2001
From: batman <978517621@qq.com>
Date: Tue, 14 Mar 2023 16:01:57 +0800
Subject: [PATCH] 新修改添加页面
---
src/views/intellectInspect/intelligentLine/index.vue | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/src/views/intellectInspect/intelligentLine/index.vue b/src/views/intellectInspect/intelligentLine/index.vue
index de17046..db88ff5 100644
--- a/src/views/intellectInspect/intelligentLine/index.vue
+++ b/src/views/intellectInspect/intelligentLine/index.vue
@@ -205,8 +205,8 @@
console.log(msg.data,'msg.data')
console.log(msg.data.rfidInfos,'rfidInfos')
if (msg.data === '连接成功') return;
- userInfos.value.dataList = JSON.parse(msg.data.rfidInfos);
- state.excepOrder = JSON.parse(msg.data.excepOrder);
+ userInfos.value.dataList = JSON.parse(msg.data).rfidInfos;
+ state.excepOrder = JSON.parse(msg.data).excepOrder;
};
}
} else {
@@ -423,16 +423,17 @@
div {
margin-bottom: 5px;
+ display: flex;
+ align-items: flex-start;
&:last-of-type {
margin-bottom: 0;
}
span {
- display: inline-block;
- white-space: nowrap;
width: 50%;
font-size: 13px;
color: #fff;
text-align: left;
+ word-break: break-all;
&:first-of-type {
text-align: right;
@@ -633,16 +634,17 @@
div {
width: 100%;
margin-bottom: 5px;
+ display: flex;
+ align-items: flex-start;
&:last-of-type {
margin-bottom: 0;
}
span {
- display: inline-block;
- white-space: nowrap;
width: 50%;
font-size: 13px;
color: #fff;
text-align: left;
+ word-break: break-all;
&:first-of-type {
text-align: right;
@@ -842,16 +844,17 @@
div {
width: 100%;
margin-bottom: 2px;
+ display: flex;
+ align-items: flex-start;
&:last-of-type {
margin-bottom: 0;
}
span {
width: 50%;
- display: inline-block;
- white-space: nowrap;
font-size: 12px;
color: #fff;
text-align: left;
+ word-break: break-all;
&:first-of-type {
text-align: right;
--
Gitblit v1.9.2