Răsfoiți Sursa

行李报文显示格式修改

zhongxiaoyu 2 ani în urmă
părinte
comite
735bb7d4e6

+ 2 - 2
public/config.js

@@ -4,5 +4,5 @@ PLATFROM_CONFIG.baseUrl = "http://106.14.243.117:9111"; // http请求地址
 PLATFROM_CONFIG.appSecret = "9inu7zpllz1folzsljm498dcpi0lsog1"; //appSecret
 PLATFROM_CONFIG.appId = "q7kdjmmaf0kerwpf"; //appid
 // PLATFROM_CONFIG.baseURLCA = "http://106.14.243.117:9114";
-// PLATFROM_CONFIG.baseURLCA = "http://192.168.3.17:8080";
-PLATFROM_CONFIG.baseURLCA = "http://ts.free.idcfengye.com";
+PLATFROM_CONFIG.baseURLCA = "http://192.168.3.17:8080";
+// PLATFROM_CONFIG.baseURLCA = "http://ts.free.idcfengye.com";

+ 2 - 2
src/views/baggageManagement/components/baggage/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2022-01-17 10:39:22
- * @LastEditTime: 2022-05-12 16:15:53
+ * @LastEditTime: 2022-05-12 16:55:51
  * @LastEditors: your name
  * @Description: 行李视图
 -->
@@ -151,7 +151,7 @@
               <div class="card">
                 <div class="message-date">{{ message.date }}</div>
                 <div class="message-content">
-                  {{ message.dataContent.replace(/\s+/g, "").split(".").join("\n.") }}
+                  {{ message.dataContent.replaceAll(/[\r\n]{2,}/g, '\n') }}
                   <!-- BSM <br>
               .V/1LHRB <br>
               .F/XX1640/08APR/PEK/Y <br>