From a2595cdfc4a8ee55220585119bcb39fdd29da6b1 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 26 八月 2024 11:40:25 +0800 Subject: [PATCH] 禁止跳转 --- src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue | 13 ++++++++++++- 1 files changed, 12 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..4e26c7c 100644 --- a/src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue +++ b/src/components/chat/chatComponents/summaryCom/components/amisPage/AmisPage.vue @@ -1,17 +1,28 @@ <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" :locals="data?.amis_data" /> </div> </template> <script setup lang="ts"> import type { PropType } from 'vue'; import AMISRenderer from '/@/components/amis/AMISRenderer.vue'; + +// 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>, }, }); + + </script> <style scoped lang="scss"></style> -- Gitblit v1.9.3