|
|
@@ -261,7 +261,7 @@ export const TopBar: FC<TopBarProps> = ({
|
|
|
</button>
|
|
|
</div>
|
|
|
<Modal
|
|
|
- title="新建任务"
|
|
|
+ title={<div className="w-full text-center">新建任务</div>}
|
|
|
visible={isModalVisible}
|
|
|
onOk={handleConfirm}
|
|
|
onCancel={() => setIsModalVisible(false)}
|
|
|
@@ -285,7 +285,7 @@ export const TopBar: FC<TopBarProps> = ({
|
|
|
</Form>
|
|
|
</Modal>
|
|
|
<Modal
|
|
|
- title="插入指令"
|
|
|
+ title={<div className="w-full text-center">插入指令</div>}
|
|
|
visible={isInsertModalVisible}
|
|
|
onOk={handleInsertConfirm}
|
|
|
onCancel={() => setIsInsertModalVisible(false)}
|
|
|
@@ -296,14 +296,14 @@ export const TopBar: FC<TopBarProps> = ({
|
|
|
<Form getFormApi={(api: any) => (insertFormApiRef.current = api)}>
|
|
|
<Form.TextArea
|
|
|
field="insert_prompt"
|
|
|
- label="指令"
|
|
|
+ label=" "
|
|
|
placeholder="请输入插入指令"
|
|
|
autosize={{ minRows: 3, maxRows: 6 }}
|
|
|
/>
|
|
|
</Form>
|
|
|
</Modal>
|
|
|
<Modal
|
|
|
- title="反思"
|
|
|
+ title={<div className="w-full text-center">反思</div>}
|
|
|
visible={isReflectModalVisible}
|
|
|
onOk={handleReflectConfirm}
|
|
|
onCancel={() => setIsReflectModalVisible(false)}
|
|
|
@@ -314,14 +314,14 @@ export const TopBar: FC<TopBarProps> = ({
|
|
|
<Form getFormApi={(api: any) => (reflectFormApiRef.current = api)}>
|
|
|
<Form.TextArea
|
|
|
field="reflect_focus"
|
|
|
- label="反思重点"
|
|
|
+ label=" "
|
|
|
placeholder="请输入反思重点(可选)"
|
|
|
autosize={{ minRows: 3, maxRows: 6 }}
|
|
|
/>
|
|
|
</Form>
|
|
|
</Modal>
|
|
|
<Modal
|
|
|
- title="经验列表"
|
|
|
+ title={<div className="w-full text-center">经验列表</div>}
|
|
|
visible={isExperienceModalVisible}
|
|
|
onCancel={() => setIsExperienceModalVisible(false)}
|
|
|
footer={null}
|