fix: 属性变更codemirror编辑器

This commit is contained in:
TsMask
2024-04-01 15:59:09 +08:00
parent fbbd0496de
commit 075ad76d19
6 changed files with 7 additions and 12 deletions

View File

@@ -1724,7 +1724,6 @@ export default {
clearForm: "Reset",
clearLog: "Clear Logs",
exec: "Execute",
cmdAwait: "Waiting for a command to be sent",
uploadFileTip: 'Are you sure you want to upload the file?',
uploadFileOk: 'File Upload Successful',
uploadFileErr: 'File Upload Failed',

View File

@@ -1724,7 +1724,6 @@ export default {
clearForm: "重置",
clearLog: "清除日志",
exec: "执行",
cmdAwait: "等待发送命令",
uploadFileTip: '确认要上传文件吗?',
uploadFileOk: '文件上传成功',
uploadFileErr: '文件上传失败',

View File

@@ -813,10 +813,9 @@ onMounted(() => {
</template>
<CodemirrorEdite
v-model:value="state.mmlCmdLog"
:value="state.mmlCmdLog"
:disabled="true"
:editor-style="{ height: '500px !important' }"
:placeholder="t('views.mmlManage.cmdAwait')"
height="500px"
></CodemirrorEdite>
</a-card>
</a-col>

View File

@@ -744,10 +744,9 @@ onMounted(() => {
</template>
<CodemirrorEdite
v-model:value="state.mmlCmdLog"
:value="state.mmlCmdLog"
:disabled="true"
:editor-style="{ height: '500px !important' }"
:placeholder="t('views.mmlManage.cmdAwait')"
height="500px"
></CodemirrorEdite>
</a-card>
</a-col>

View File

@@ -749,10 +749,9 @@ onMounted(() => {
</template>
<CodemirrorEdite
v-model:value="state.mmlCmdLog"
:value="state.mmlCmdLog"
:disabled="true"
:editor-style="{ height: '500px !important' }"
:placeholder="t('views.mmlManage.cmdAwait')"
height="500px"
></CodemirrorEdite>
</a-card>
</a-col>

View File

@@ -193,7 +193,7 @@ onBeforeMount(() => {
v-model:value="configState.keyTextData"
:disabled="configState.keyTextLoading"
lang="yaml"
style="height: 500px"
height="500px"
@change="fnChangekeyTextData"
></CodemirrorEdite>
<div