NEZ-791 fix:批量修改新增的endpoint数据,无法保存的问题

This commit is contained in:
zhangyu
2021-07-02 17:54:10 +08:00
parent bb4665f0d0
commit 20215b4906

View File

@@ -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)