From fc4c8b7e4f9d926a43903389afb21d5a09208f8e Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 13 二月 2025 16:41:30 +0800
Subject: [PATCH] feat:承运单位改为非必填样式

---
 App.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/App.vue b/App.vue
index 758985e..d5c82e3 100644
--- a/App.vue
+++ b/App.vue
@@ -10,17 +10,19 @@
 		},
 		onShow() {
 			console.log('appvue鏄剧ず');
-			if (!this.globalisconnect && !this.globalisUploadimg) {
-				this.$store.dispatch('websocketInit')
-				this.changeisconnect(false);
-				console.log('appvue鐨剋s');
+			if (!this.globalisconnect && !this.globalisUploadimg && this.globalisLogin) {
+				if (!this.is_open_socket) {
+					this.$store.dispatch('websocketInit')
+					this.changeisconnect(true);
+					console.log('appvue鐨剋s');
+				}
 			}
 		},
 		methods: {
 			...mapMutations(['changeisconnect'])
 		},
 		computed: {
-			...mapState(['globalisconnect', 'globalisUploadimg', 'globalisLogin'])
+			...mapState(['globalisconnect', 'globalisUploadimg', 'globalisLogin', 'is_open_socket'])
 		}
 	};
 </script>
@@ -32,12 +34,12 @@
 
 	@font-face {
 		font-family: siYuanLight;
-		src: url('https://mx.jzeg.cn:9095/appimg/fonts/siyuannormal.OTF');
+		src: url('https://mr1.res.jzeg.cn:9096/appimg/fonts/siyuannormal.OTF');
 	}
 
 	@font-face {
 		font-family: weighting;
-		src: url('https://mx.jzeg.cn:9095/appimg/fonts/weighting.TTF');
+		src: url('https://mr1.res.jzeg.cn:9096/appimg/fonts/weighting.TTF');
 	}
 
 	body {

--
Gitblit v1.9.1