feat: 替换了markdown 的组件
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
<style lang="scss" scoped>
|
||||
.chat-ai {
|
||||
margin: 6px 12px;
|
||||
padding: 16px;
|
||||
min-width: 60px;
|
||||
padding: 0 16px;
|
||||
min-width: 80px;
|
||||
|
||||
background: rgba(255,255,255,0.4);
|
||||
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.1);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<view>
|
||||
<ua-markdown :source="text" />
|
||||
<zero-markdown-view :markdown="text" :aiMode='true'></zero-markdown-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineProps } from "vue";
|
||||
|
||||
|
||||
defineProps({
|
||||
text: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user