Skip to content

Commit

Permalink
improve(desktop): remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
LAST7 committed Sep 21, 2024
1 parent aef786e commit 83100c7
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/views/script/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
@qucik-save="handleTest"
/>
<Editor
v-if="activeTab === schemaTab && currentSchema === 'protobuf'"
v-if="activeTab === schemaTab"
ref="schemaEditor"
id="schema-editor"
:key="2"
Expand All @@ -85,19 +85,6 @@
renderHighlight="line"
@qucik-save="handleTest"
/>
<Editor
v-if="activeTab === schemaTab && currentSchema === 'avro'"
ref="schemaEditor"
id="schema-editor"
:key="3"
:lang="scriptEditorLang"
:isCustomerLang="true"
v-model="schemaEditorValue"
lineNumbers="on"
:lineNumbersMinChars="5"
renderHighlight="line"
@qucik-save="handleTest"
/>
</div>
<el-row class="script-test-row script-test-input" :gutter="20">
<el-col :span="activeTab == schemaTab && currentSchema === 'protobuf' ? 15 : 18">
Expand Down

0 comments on commit 83100c7

Please sign in to comment.