<template>
  <div v-show="item.from === 'ai' && item.loading" class="ai-loading">
    <span>思考中</span> <n-spin size="small" content-class="spin-class" />
  </div>
</template>

<script setup>
const props = defineProps({
  item: {
    type: Object,
    default: () => {}
  }
})
</script>

<style scoped></style>
