diff --git a/src/views/pages/cmdb/form/component/formcientitymodify/index.vue b/src/views/pages/cmdb/form/component/formcientitymodify/index.vue index e990fd78ac9bbae2197fef1f6a002fb6ad197c9b..f5474629be6bb50d641d5148833dde27dcfe1295 100644 --- a/src/views/pages/cmdb/form/component/formcientitymodify/index.vue +++ b/src/views/pages/cmdb/form/component/formcientitymodify/index.vue @@ -215,6 +215,12 @@ export default { this.$api.cmdb.ci.getCiList({ idList: this.config.ciIdList }).then(res => { if (res.Status == 'OK') { this.ciList = res.Return || []; + if (['edit', 'editSubform'].includes(this.mode)) { + // 编辑模式下更新表单高度 + this.$nextTick(() => { + this.$emit('resize'); + }); + } } }); },