From cafe863e24cb5af4d3e9f1625d7f246910684fd8 Mon Sep 17 00:00:00 2001 From: mayinrain <624899618@qq.com> Date: Tue, 31 Dec 2024 15:37:17 +0800 Subject: [PATCH] fix --- .../src/apps/URM/module/functionManagement/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linkis-web/src/apps/URM/module/functionManagement/index.vue b/linkis-web/src/apps/URM/module/functionManagement/index.vue index 1df5431ddb..f0eebb321c 100644 --- a/linkis-web/src/apps/URM/module/functionManagement/index.vue +++ b/linkis-web/src/apps/URM/module/functionManagement/index.vue @@ -390,7 +390,7 @@ export default { this.isLoading = false this.loading = false if (data.defaultLoad) { - this.confirmKillIdle(data) + this.confirmKillIdle() } }) .catch(() => { @@ -426,7 +426,7 @@ export default { this.search() this.$Message.success(this.$t('message.linkis.udf.success')); if (data.defaultLoad) { - this.confirmKillIdle(data) + this.confirmKillIdle() } }) .catch(() => { @@ -669,7 +669,7 @@ export default { }) } }, - confirmKillIdle(data) { + confirmKillIdle() { this.$Modal.confirm({ title: this.$t('message.linkis.setting.killEngineTitle'), content: this.$t('message.linkis.setting.killEngine'), @@ -677,7 +677,7 @@ export default { try { api.fetch("/linkisManager/rm/killEngineByCreatorEngineType", { creator: '*', - engineType: [1, 2].includes(data.udfType) ? 'spark' : '*' + engineType: 'spark' }) } catch (err) { window.console.warn(err)