From 3675e202a47910821a86370ae64b60d3cfe93e79 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 02 一月 2025 14:17:53 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/WI/Web.V1.0

---
 src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue b/src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue
index fce79bb..4731f7d 100644
--- a/src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue
+++ b/src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue
@@ -1,17 +1,32 @@
 <template>
 	<div>
 		<span v-if="data?.title" class="text-base font-bold flex-center">{{ data?.title }}</span>
-		<AMISRenderer :schema="data?.amis_json" />
+		<AMISRenderer :schema="data?.amis_json" :context="data?.amis_data" @ready="amisReady"/>
 	</div>
 </template>
 
 <script setup lang="ts">
 import type { PropType } from 'vue';
 import AMISRenderer from '/@/components/amis/AMISRenderer.vue';
+import emitter from '/@/utils/mitt';
+
+// import  鍛ㄧぞ浼氬瓨閿�姣� from './testData/鍛ㄧぞ浼氬瓨閿�姣�.json'
+// import  瀹㈡埛鎯呭喌 from './testData/瀹㈡埛鎯呭喌.json'
+
+// import  甯傚満缁煎悎鐘舵�� from './testData/甯傚満缁煎悎鐘舵��.json'
+// import  閿�鍞搴﹂攢閲� from './testData/閿�鍞搴﹂攢閲�.json'
+// import  缁忔祹杩愯 from './testData/缁忔祹杩愯.json'
+import testData from './testData.json'
+
 const props = defineProps({
 	data: {
 		type: Object as PropType<any>,
 	},
 });
+const amisReady = (val) => {
+	emitter.emit('amis.page.ready',val);
+};
+
+
 </script>
 <style scoped lang="scss"></style>

--
Gitblit v1.9.3