Skip to content

Commit 9a0f068

Browse files
feat: Supports specified user input title(#2288)
1 parent dd04774 commit 9a0f068

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

ui/src/workflow/nodes/base-node/component/UserInputFieldTable.vue

+10-12
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@
22
<div class="flex-between mb-16">
33
<h5 class="lighter">{{ $t('chat.userInput') }}</h5>
44
<div>
5-
<el-button
6-
type="primary"
7-
link
8-
@click="openChangeTitleDialog"
9-
>
5+
<el-button type="primary" link @click="openChangeTitleDialog">
106
<el-icon>
117
<Setting />
128
</el-icon>
139
</el-button>
14-
<el-button link type="primary" @click="openAddDialog()">
15-
<el-icon class="mr-4">
16-
<Plus />
17-
</el-icon>
18-
{{ $t('common.add') }}
19-
</el-button>
10+
<span class="ml-4">
11+
<el-button link type="primary" @click="openAddDialog()">
12+
<el-icon class="mr-4">
13+
<Plus />
14+
</el-icon>
15+
{{ $t('common.add') }}
16+
</el-button>
17+
</span>
2018
</div>
2119
</div>
2220
<el-table
@@ -103,7 +101,7 @@
103101
</el-table>
104102

105103
<UserFieldFormDialog ref="UserFieldFormDialogRef" @refresh="refreshFieldList" />
106-
<UserInputTitleDialog ref="UserInputTitleDialogRef" @refresh="refreshFieldTitle"/>
104+
<UserInputTitleDialog ref="UserInputTitleDialogRef" @refresh="refreshFieldTitle" />
107105
</template>
108106

109107
<script setup lang="ts">

0 commit comments

Comments
 (0)