style: 调整
This commit is contained in:
@ -4,6 +4,7 @@ import { Bubble } from '@/components/xt-chat/xt-bubble';
|
||||
|
||||
import { downloadByUrl } from '@/utils/tools';
|
||||
import markdownit from 'markdown-it';
|
||||
import { message } from 'ant-design-vue';
|
||||
|
||||
export default {
|
||||
emits: ['close'],
|
||||
@ -29,6 +30,13 @@ export default {
|
||||
|
||||
const onDownload = () => {
|
||||
// downloadByUrl('');
|
||||
message.success('下载成功!');
|
||||
};
|
||||
const onAddMediaCenter = () => {
|
||||
message.success('成功添加至“素材中心”模块。');
|
||||
};
|
||||
const onAddTaskManage = () => {
|
||||
message.success('成功添加至“任务管理”模块。');
|
||||
};
|
||||
const abortTyping = () => {
|
||||
bubbleRef.value?.abortTyping?.();
|
||||
@ -36,10 +44,22 @@ export default {
|
||||
const renderHeader = () => {
|
||||
return (
|
||||
<header class="header flex justify-end items-center mb-16px px-32px">
|
||||
<Button type="outline" size="medium" class="mr-16px" v-slots={{ icon: () => <icon-plus size="14" /> }}>
|
||||
<Button
|
||||
type="outline"
|
||||
size="medium"
|
||||
class="mr-16px"
|
||||
v-slots={{ icon: () => <icon-plus size="14" /> }}
|
||||
onClick={onAddMediaCenter}
|
||||
>
|
||||
素材中心
|
||||
</Button>
|
||||
<Button type="outline" size="medium" class="mr-16px" v-slots={{ icon: () => <icon-plus size="14" /> }}>
|
||||
<Button
|
||||
type="outline"
|
||||
size="medium"
|
||||
class="mr-16px"
|
||||
v-slots={{ icon: () => <icon-plus size="14" /> }}
|
||||
onClick={onAddTaskManage}
|
||||
>
|
||||
任务管理
|
||||
</Button>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user