From a22a715caae95546e40358a5327487f5f46fe749 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期一, 31 三月 2025 15:34:34 +0800
Subject: [PATCH] 修改 iframe 通讯机制

---
 src/components/CustomerService.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/CustomerService.vue b/src/components/CustomerService.vue
index 7e57061..fc3c445 100644
--- a/src/components/CustomerService.vue
+++ b/src/components/CustomerService.vue
@@ -8,13 +8,13 @@
 const emit = defineEmits(['close']);
 
 import { ref, onMounted } from 'vue';
-import { setParentFunction } from '@/utils/iframeCall';
+import { ChildRegister, setParentFunction } from '@/utils/iframeCall';
 const getUrl = () => {
 	const isDev = import.meta.env.DEV;
 	if (isDev) {
 		return 'http://localhost:5679';
 	}
-	return 'http://www.xpump.net/iie-mobile?v=1';
+	return 'http://www.xpump.net/iie-mobile?v=132323';
 };
 
 const url = getUrl();
@@ -28,7 +28,7 @@
 		}
 	});
 	setTimeout(() => {
-		setParentFunction();
+		ChildRegister.registerNotifyFunction();
 	}, 800);
 });
 </script>

--
Gitblit v1.9.3