diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue index 74ff2c8ed..91c51c38b 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue @@ -472,7 +472,7 @@ export default { this.$nextTick(() => { this.$refs.moduleForm.validate((valid) => { if (valid) { - if (this.optionType === 'add') { + if (this.optionType === 'add' || this.optionType === 'batch') { this.prevent_opt.save = true if (this.editEndpoint.assetId) { this.$emit('close', true, this.editEndpoint, false)