移除设置对话模型,和工作流刷新按钮
This commit is contained in:
@@ -195,10 +195,10 @@
|
||||
<div class="sub">{{ currentWorkflowForCreation?.description || '填写表单参数进行内容创作' }}</div>
|
||||
</div>
|
||||
<div class="creation-header-actions">
|
||||
<el-button type="warning" size="large" @click="showChatModelSelector = true">
|
||||
<!-- <el-button type="warning" size="large" @click="showChatModelSelector = true">
|
||||
<el-icon><Setting /></el-icon>
|
||||
设置对话模型
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
<el-button @click="backToCanvas">返回画布</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -400,7 +400,7 @@
|
||||
<el-tab-pane label="我的工作流" name="user">
|
||||
<div class="right-panel-header">
|
||||
<el-button type="success" size="small" @click="createNewWorkflow">新建</el-button>
|
||||
<el-button type="primary" link size="small" @click="refreshWorkflowList">刷新</el-button>
|
||||
<!-- <el-button type="primary" link size="small" @click="refreshWorkflowList">刷新</el-button> -->
|
||||
</div>
|
||||
<div class="workflow-list-vertical" v-loading="workflowListLoading">
|
||||
<el-empty v-if="!workflowListLoading && userWorkflowList.length === 0" description="暂无工作流" :image-size="60" />
|
||||
@@ -440,7 +440,7 @@
|
||||
<el-tab-pane label="模板工作流" name="template">
|
||||
<div class="right-panel-header">
|
||||
<el-button v-if="isAdmin" type="success" size="small" @click="createNewWorkflow">新建</el-button>
|
||||
<el-button type="primary" link size="small" @click="refreshWorkflowList">刷新</el-button>
|
||||
<!-- <el-button type="primary" link size="small" @click="refreshWorkflowList">刷新</el-button> -->
|
||||
</div>
|
||||
<div class="workflow-list-vertical" v-loading="workflowListLoading">
|
||||
<el-empty v-if="!workflowListLoading && templateWorkflowList.length === 0" description="暂无模板" :image-size="60" />
|
||||
@@ -1238,11 +1238,11 @@ const sendMessage = async () => {
|
||||
try {
|
||||
// 1. 先上传文件到 OSS,获取文件 URL
|
||||
const fileUrls: string[] = [];
|
||||
|
||||
|
||||
if (isFromWorkspace.value && currentWorkflowForCreation.value?.fileUrls) {
|
||||
fileUrls.push(...currentWorkflowForCreation.value.fileUrls);
|
||||
}
|
||||
|
||||
|
||||
if (selectedFiles.value.length > 0) {
|
||||
for (const file of selectedFiles.value) {
|
||||
const uploadRes = await uploadFile(file);
|
||||
|
||||
Reference in New Issue
Block a user