Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 1.10.0 webank #698

Merged
merged 13 commits into from
Dec 31, 2024
8 changes: 4 additions & 4 deletions linkis-web/src/apps/URM/module/functionManagement/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export default {
this.isLoading = false
this.loading = false
if (data.defaultLoad) {
this.confirmKillIdle(data)
this.confirmKillIdle()
}
})
.catch(() => {
Expand Down Expand Up @@ -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(() => {
Expand Down Expand Up @@ -669,15 +669,15 @@ export default {
})
}
},
confirmKillIdle(data) {
confirmKillIdle() {
this.$Modal.confirm({
title: this.$t('message.linkis.setting.killEngineTitle'),
content: this.$t('message.linkis.setting.killEngine'),
onOk: async () => {
try {
api.fetch("/linkisManager/rm/killEngineByCreatorEngineType", {
creator: '*',
engineType: [1, 2].includes(data.udfType) ? 'spark' : '*'
engineType: 'spark'
})
} catch (err) {
window.console.warn(err)
Expand Down
Loading