Bladeren bron

智能体链接修改

11wqe1 6 dagen geleden
bovenliggende
commit
b28aa0c6aa
1 gewijzigde bestanden met toevoegingen van 8 en 1 verwijderingen
  1. 8 1
      src/views/HomeView.vue

+ 8 - 1
src/views/HomeView.vue

@@ -145,10 +145,11 @@
 				<img style="cursor: pointer;width: 24px;margin-left: 15px;" :src="!Full_Screen ? fullScreen : nofullScreen"
 					@click="Full_Screen = !Full_Screen" alt="">
 			</div>
+			
 			<div style="height: calc(100% - 4px);">
 				<iframe width="100%" height="100%"
 					allow="camera *; microphone *; display-capture; midi; encrypted-media; fullscreen; geolocation; clipboard-read; clipboard-write; accelerometer; autoplay; gyroscope; payment; picture-in-picture; usb; xr-spatial-tracking;"
-					src="https://aichat.cocorobo.cn/#/?id=335951a7-65ec-40e9-ae91-2971464ade4e&type=agent" 
+					:src="linkL" 
 					frameborder="0"
 					scrolling="no"></iframe>
 			</div>
@@ -328,6 +329,12 @@ export default {
 				? this.userinfo2
 				: this.userinfo;
 		},
+		linkL(){
+			// console.log('linkL',this.$region);
+			return this.$region == 'hk'
+			? 'https://aichat.cocorobo.hk/#/?id=335951a7-65ec-40e9-ae91-2971464ade4e&type=agent'
+			: 'https://aichat.cocorobo.cn/#/?id=335951a7-65ec-40e9-ae91-2971464ade4e&type=agent'
+		}
 	},
 	methods: {
 		...mapActions({