diff --git a/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue b/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue index 5ad0a996d9..1de9d91950 100644 --- a/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue +++ b/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue @@ -130,7 +130,7 @@ import MsDrawer from "../MsDrawer"; import {getCurrentProjectID, getCurrentUser} from "../../utils/token"; import {hasPermissions} from "../../utils/permission"; import {getProjectUsers} from "../../api/user"; -import {getScenarioData, getCaseData, getTaskSocket, getTaskList, stopTask, stopBatchTask} from "../../api/task"; +import {getCaseData, getScenarioData, getTaskList, getTaskSocket, stopBatchTask, stopTask} from "../../api/task"; import MicroApp from "../../components/MicroApp"; import {prefetchApps} from "qiankun"; @@ -374,6 +374,9 @@ export default { if (mode === 'BATCH') { return this.$t('api_test.automation.batch_execute'); } + if (mode === 'JENKINS_RUN_TEST_PLAN') { + return this.$t('commons.trigger_mode.api'); + } return mode; }, getTaskRunning() {