mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-03 16:06:13 +00:00
perf: 优化冲突的变量名
This commit is contained in:
@@ -20,16 +20,16 @@
|
|||||||
<div class="transition-box" style="width: calc(100% - 17px);">
|
<div class="transition-box" style="width: calc(100% - 17px);">
|
||||||
<el-tabs v-model="activeEditorId" :closable="true" @tab-remove="onCloseEditor">
|
<el-tabs v-model="activeEditorId" :closable="true" @tab-remove="onCloseEditor">
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
v-for="(item,key) in openedEditor"
|
v-for="(editor,key) in openedEditor"
|
||||||
:key="key"
|
:key="key"
|
||||||
:label="tabLabel(item)"
|
:label="tabLabel(editor)"
|
||||||
:name="key"
|
:name="key"
|
||||||
>
|
>
|
||||||
<CodeEditor
|
<CodeEditor
|
||||||
style="margin-bottom: 20px"
|
style="margin-bottom: 20px"
|
||||||
:options="cmOptions"
|
:options="cmOptions"
|
||||||
:toolbar="toolbar"
|
:toolbar="toolbar"
|
||||||
:value.sync="item.value"
|
:value.sync="editor.value"
|
||||||
/>
|
/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
Reference in New Issue
Block a user