Skip to content

Commit

Permalink
feat: 删除连线时增加二次确认弹窗
Browse files Browse the repository at this point in the history
  • Loading branch information
luofann committed Nov 18, 2024
1 parent cb6ae54 commit 0622a5f
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 0622a5f

Please sign in to comment.