diff --git a/src/resources/plugins/TsSheet/form-scene-edit.vue b/src/resources/plugins/TsSheet/form-scene-edit.vue index 5b6e5e68b4c55289c53d007dde7cbc83e9cb8492..52c2e5a7642dd5c235aa550baafdcd80f26a43bb 100644 --- a/src/resources/plugins/TsSheet/form-scene-edit.vue +++ b/src/resources/plugins/TsSheet/form-scene-edit.vue @@ -494,6 +494,11 @@ export default { this.currentFormItem = null; this.$nextTick(() => { this.currentFormItem = this.$utils.deepClone(config); + this.formData.formConfig.tableList.forEach(d => { + if (d.component && d.component.uuid == uuid) { + this.$set(d, 'component', this.currentFormItem); + } + }); }); }, saveForm(type) { diff --git a/src/resources/plugins/TsSheet/form/component/formtab.vue b/src/resources/plugins/TsSheet/form/component/formtab.vue index f8a378c41c0872352d352889da3702d688b33e51..7276e594a7449b6d5da64ac49e137e4d31af8d30 100644 --- a/src/resources/plugins/TsSheet/form/component/formtab.vue +++ b/src/resources/plugins/TsSheet/form/component/formtab.vue @@ -30,7 +30,7 @@ :formData="formData" :formItemList="formItemList" :mode="mode" - :disabled="disabled || !!formItem.hasOwnProperty('inherit')" + :disabled="disabled" :readonly="readonly" @resize="$emit('resize')" @emit="