diff --git a/src/frontend/src/views/executive-history/list/index.vue b/src/frontend/src/views/executive-history/list/index.vue index 4e03f6f7ac..a44ff9a45f 100644 --- a/src/frontend/src/views/executive-history/list/index.vue +++ b/src/frontend/src/views/executive-history/list/index.vue @@ -582,17 +582,27 @@ id: taskInstance.id, }, }); - return; + } else if (taskInstance.isScript || taskInstance.isFile) { + this.$router.push({ + name: 'quickLaunchStep', + params: { + taskInstanceId: taskInstance.id, + }, + query: { + from: 'historyList', + }, + }); + } else { + this.$router.push({ + name: 'historyStep', + params: { + taskInstanceId: taskInstance.id, + }, + query: { + from: 'historyList', + }, + }); } - this.$router.push({ - name: 'historyStep', - params: { - taskInstanceId: taskInstance.id, - }, - query: { - from: 'historyList', - }, - }); }, /** * @desc 重做执行任务