admin-vue3/src/views/ai/chat/index/components/message/MessageNewConversation.vue

20 lines
656 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!-- 无聊天对话时 message 区域可以新增对话 -->
<template>
<div class="flex flex-row justify-center w-100% h-100%">
<div class="flex flex-col justify-center">
<div class="text-14px text-#858585">点击下方按钮开始你的对话吧</div>
<div class="flex flex-row justify-center mt-20px">
<el-button type="primary" round @click="handlerNewChat"></el-button>
</div>
</div>
</div>
</template>
<script setup lang="ts">
const emits = defineEmits(['onNewConversation'])
/** 新建 conversation 聊天对话 */
const handlerNewChat = () => {
emits('onNewConversation')
}
</script>