From 02039a36e304caad67ca680dd5c17c6bc23e9e58 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Mon, 29 Jun 2026 11:21:41 +0800 Subject: [PATCH] refactor: cleanup, add component name, swap icons - remove unnecessary wrapper div in ChatMarkdown component - add longTextCardFullDocPreview to CompName constants - replace uni-icons with van-icon in LongTextGuideCardPreview --- src/constants/ChatModel.ts | 1 + src/pages/home/components/ChatMarkdown/index.vue | 4 +--- src/pages/home/components/LongTextGuideCardPreview/index.vue | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/constants/ChatModel.ts b/src/constants/ChatModel.ts index 37a4483..8073fda 100644 --- a/src/constants/ChatModel.ts +++ b/src/constants/ChatModel.ts @@ -56,6 +56,7 @@ export const CompName = { longTextCardSnap: "longTextCardSnap", longTextCardRoute: "longTextCardRoute", longTextCardScenicSpot: "longTextCardScenicSpot", + longTextCardFullDocPreview: "longTextCardFullDocPreview", // 生成合成图片 aigcPhotoGeneratorCard: "aigcPhotoGeneratorCard", }; diff --git a/src/pages/home/components/ChatMarkdown/index.vue b/src/pages/home/components/ChatMarkdown/index.vue index 3e2bdd7..74166ac 100644 --- a/src/pages/home/components/ChatMarkdown/index.vue +++ b/src/pages/home/components/ChatMarkdown/index.vue @@ -1,7 +1,5 @@