diff --git a/package.json b/package.json index 44d0904..ef1a591 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "snail-job", "type": "module", - "version": "1.3.0-beta1", + "version": "1.4.0-beta2", "description": "A flexible, reliable, and fast platform for distributed task retry and distributed task scheduling.", "license": "Apache-2.0", "homepage": "https://gitee.com/aizuda/snail-job", diff --git a/src/components/common/search-form.vue b/src/components/common/search-form.vue index 9d0c404..9de9484 100644 --- a/src/components/common/search-form.vue +++ b/src/components/common/search-form.vue @@ -60,28 +60,36 @@ onMounted(() => { - + diff --git a/src/views/job/batch/index.vue b/src/views/job/batch/index.vue index 918cb7b..b37e0cf 100644 --- a/src/views/job/batch/index.vue +++ b/src/views/job/batch/index.vue @@ -27,7 +27,7 @@ const { bool: detailVisible, setTrue: openDetail } = useBoolean(false); const { bool: detailLog, setBool: setDetailLog } = useBoolean(false); const jobName = history.state.jobName; const jobId = history.state.jobId; -const taskBatchStatus = [history.state.taskBatchStatus]; +const taskBatchStatus = history.state.taskBatchStatus ? [history.state.taskBatchStatus] : []; const { columnChecks, columns, data, getData, loading, mobilePagination, searchParams, resetSearchParams } = useTable({ apiFn: fetchGetJobBatchList,