feat: 加载中动画调整
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
<view class="container">
|
||||
<view class="chat-ai">
|
||||
<view class="loading-container">
|
||||
<!-- <image
|
||||
<image
|
||||
v-if="isLoading"
|
||||
class="loading-img"
|
||||
src="/static/msg_loading.svg"
|
||||
/> -->
|
||||
<loading v-if="isLoading" />
|
||||
/>
|
||||
<!-- <loading v-if="isLoading" /> -->
|
||||
<ChatMarkdown :key="textKey" :text="processedText" />
|
||||
<DotLoading v-if="isLoading" />
|
||||
</view>
|
||||
<slot name="content"></slot>
|
||||
</view>
|
||||
@@ -20,6 +21,7 @@
|
||||
import { defineProps, computed, ref, watch } from "vue";
|
||||
import ChatMarkdown from "./ChatMarkdown.vue";
|
||||
import loading from "@/pages/loading/loading.vue";
|
||||
import DotLoading from "@/pages/loading/DotLoading.vue";
|
||||
|
||||
const props = defineProps({
|
||||
text: {
|
||||
|
||||
Reference in New Issue
Block a user