diff --git a/webfe/package_vue/src/views/dev-center/app/operation-record/comps/code-diff.vue b/webfe/package_vue/src/views/dev-center/app/operation-record/comps/code-diff.vue index 635465f269..c4fdcabe8b 100644 --- a/webfe/package_vue/src/views/dev-center/app/operation-record/comps/code-diff.vue +++ b/webfe/package_vue/src/views/dev-center/app/operation-record/comps/code-diff.vue @@ -83,6 +83,9 @@ export default { this.modifiedModel = null; } }, + layout() { + this.editor.layout(); + }, }, }; diff --git a/webfe/package_vue/src/views/dev-center/app/operation-record/comps/diff.vue b/webfe/package_vue/src/views/dev-center/app/operation-record/comps/diff.vue index 0858912702..1aedd59a39 100644 --- a/webfe/package_vue/src/views/dev-center/app/operation-record/comps/diff.vue +++ b/webfe/package_vue/src/views/dev-center/app/operation-record/comps/diff.vue @@ -1,5 +1,5 @@