Skip to content

Commit

Permalink
fix: 修复编辑器问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Aug 27, 2024
1 parent 0152d01 commit ba60b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/workflow/nodes/function-node/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@
</el-card>

<h5 class="lighter mb-8">Python 代码</h5>
<div class="workflow-CodemirrorEditor mb-8" v-if="showEditor">
<div class="function-CodemirrorEditor mb-8" v-if="showEditor">
<CodemirrorEditor
v-model="chat_data.code"
@wheel="wheel"
@keydown="isKeyDown = true"
@keyup="isKeyDown = false"
style="height: 130px !important"
/>
<div class="workflow-CodemirrorEditor__footer">
<div class="function-CodemirrorEditor__footer">
<el-button text type="info" @click="openCodemirrorDialog" class="magnify">
<AppIcon iconName="app-magnify" style="font-size: 16px"></AppIcon>
</el-button>
Expand Down

0 comments on commit ba60b3c

Please sign in to comment.