Skip to content

Commit

Permalink
Dev 1.10.0 webank (#698)
Browse files Browse the repository at this point in the history
* chore: 1.9.0

* feat: 1.10.0

* fix

* upd: 新增loading展示

* fix: udf类型判断条件修复

* fix: 注册函数展示逻辑修复

* upd: 函数管理新增/编辑支持kill引擎

* upd: license缩进调整

* upd: 函数管理交互更新

* fix
  • Loading branch information
mayinrain authored Dec 31, 2024
1 parent d68e60d commit def7d82
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit def7d82

Please sign in to comment.