未验证 提交 d618602a 编写于 作者: A Amy0104 提交者: GitHub

[Fix][Next-UI][V1.0.0-Beta] Fix placeholder error on the task queue page. (#9805)

上级 206b7c1c
......@@ -330,7 +330,7 @@ const resource = {
task_name: 'Task name',
task_group_name: 'Task group name',
project_name: 'Project name',
workflow_name: 'Workflow name',
task_instance_name: 'Task instance',
workflow_instance_name: 'Workflow instance',
queue: 'Task group queue',
priority: 'Priority',
......
......@@ -326,7 +326,7 @@ const resource = {
task_name: '任务名称',
task_group_name: '任务组名称',
project_name: '项目名称',
workflow_name: '工作流名称',
task_instance_name: '任务实例',
workflow_instance_name: '工作流实例',
queue: '任务组队列',
priority: '组内优先级',
......
......@@ -48,7 +48,7 @@ const taskGroupQueue = defineComponent({
const idRef = ref(Number(router.currentRoute.value.params.id))
const searchParamRef = reactive({
groupId: ref<number| null>(),
groupId: ref<number | null>(),
processName: '',
instanceName: '',
pageSize: 10,
......@@ -170,14 +170,14 @@ const taskGroupQueue = defineComponent({
<NInput
size='small'
v-model={[this.searchParamRef.processName, 'value']}
placeholder={t('resource.task_group_queue.workflow_name')}
placeholder={t(
'resource.task_group_queue.workflow_instance_name'
)}
></NInput>
<NInput
size='small'
v-model={[this.searchParamRef.instanceName, 'value']}
placeholder={t(
'resource.task_group_queue.workflow_instance_name'
)}
placeholder={t('resource.task_group_queue.task_instance_name')}
></NInput>
<NButton size='small' type='primary' onClick={onSearch}>
<NIcon>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册