Skip to content

Commit

Permalink
feat: 删除连线时增加二次确认弹窗
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 24058
  • Loading branch information
luofann committed Nov 18, 2024
1 parent cb6ae54 commit 40157ae
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,14 @@
this.$emit('closeLine');
},
deleteLine() {
this.$emit('deleteLine');
const _this = this;
this.$bkInfo({
type: 'warning',
title: this.$t('m[\'此操作不可撤销,确定要删除吗?\']'),
confirmFn() {
_this.$emit('deleteLine');
},
});
},
// 存为模板
submitTemplate() {
Expand Down

0 comments on commit 40157ae

Please sign in to comment.