wwf
13 小时以前 a1d7e81859f554f3a53680cc35f0f49bf1f77098
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!-- 无聊天对话时,在 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>