From 6ccc0d6563d0beb1432321586556e62f31a69666 Mon Sep 17 00:00:00 2001 From: xuyongliang_01 Date: Mon, 30 Sep 2024 01:08:21 +0000 Subject: [PATCH] update src/views/execution/components/BatchExecution.vue. Signed-off-by: xuyongliang_01 --- src/views/execution/components/BatchExecution.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/execution/components/BatchExecution.vue b/src/views/execution/components/BatchExecution.vue index 6cf1b73..4874351 100644 --- a/src/views/execution/components/BatchExecution.vue +++ b/src/views/execution/components/BatchExecution.vue @@ -154,7 +154,7 @@ const commandTableData = ref< }[] >([]) const commandTableColumn = computed(() => { - const colunms = [ + const columns = [ { title: t('execution.task.commandName'), dataIndex: 'name', @@ -166,16 +166,16 @@ const commandTableColumn = computed(() => { }, ] if (props.taskType === 'COMMAND_EXECUTION' && !props.taskId) { - colunms.unshift({ + columns.unshift({ title: t('execution.task.executeIndex'), dataIndex: 'order', }) - colunms.push({ + columns.push({ title: t('common.operation'), dataIndex: 'operation', }) } - return colunms + return columns }) /** @@ -287,7 +287,7 @@ function handleCommandChange(value: string | string[], _option: Selectoption | A } } -/** cancel to create exection task */ +/** cancel to create execution task */ function handleCancel() { initTaskFromData() emits('update:visible', false) -- Gitee