fix: ts error

This commit is contained in:
buqiyuan 2022-07-14 14:35:29 +08:00
parent b5b3042dc4
commit 4e9901d8bf

View File

@ -48,7 +48,7 @@
</nz-tree-view>
</div>
<div class="flex-1 ">
<eo-editor [(code)]="model" editorType="javascript" [eventList]="[ 'format', 'copy', 'search', 'replace']"
<eo-editor [(code)]="code" editorType="javascript" [eventList]="[ 'format', 'copy', 'search', 'replace']"
(codeChange)="handleChange($event)">
</eo-editor>
</div>