Skip to content

Commit 01b21db

Browse files
wxg0103liuruibin
authored andcommitted
fix: update ParagraphDocumentContent rendering condition in index.vue
1 parent 5b439f3 commit 01b21db

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎ui/src/views/chat/pc/index.vue‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@
226226
:detail="executionDetail"
227227
:appType="applicationDetail?.type"
228228
/>
229-
<ParagraphDocumentContent :detail="rightPanelDetail" v-else />
229+
<ParagraphDocumentContent
230+
:detail="rightPanelDetail"
231+
v-if="rightPanelType === 'paragraphDocument'"
232+
/>
230233
</el-scrollbar>
231234
</div>
232235
</div>
@@ -243,7 +246,7 @@
243246
</template>
244247

245248
<script setup lang="ts">
246-
import { ref, onMounted, nextTick, computed, watch, provide } from 'vue'
249+
import { computed, nextTick, onMounted, provide, ref } from 'vue'
247250
import { marked } from 'marked'
248251
import { saveAs } from 'file-saver'
249252
import sanitizeHtml from 'sanitize-html'

0 commit comments

Comments
 (0)