diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
index 54293272df..1e2cbd3ba6 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
@@ -260,7 +260,7 @@
- {{$t('Cancel')}}
+ {{$t('Cancel')}}
{{spinnerLoading ? 'Loading...' : $t('Confirm add')}}
@@ -580,6 +580,7 @@
}
this.isContentBox = false
// flag Whether to delete a node this.$destroy()
+
this.$emit('close', {
item: {
type: this.cacheBackfillItem.type,
@@ -675,7 +676,11 @@
this.isContentBox = true
},
mounted () {
-
+ let self = this
+ $("#cancelBtn").mousedown(function(event){
+ event.preventDefault();
+ self.close()
+ });
},
updated () {
},