fix: 部分 codemirror 禁用输入

This commit is contained in:
ssongliu 2023-02-20 18:05:07 +08:00 committed by ssongliu
parent b91e5ffb4f
commit f7749af999
18 changed files with 11 additions and 19 deletions

View File

@ -16,7 +16,7 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="detailInfo"
:readOnly="true"
:disabled="true"
/>
<template #footer>
<span class="dialog-footer">

View File

@ -25,7 +25,7 @@
:extensions="extensions"
@ready="handleReady"
v-model="logInfo"
:readOnly="true"
:disabled="true"
/>
</div>
</template>

View File

@ -50,7 +50,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="form.file"
:readOnly="true"
/>
</el-form-item>
</el-col>

View File

@ -16,7 +16,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="content"
:readOnly="true"
/>
</div>
<template #footer>

View File

@ -28,7 +28,7 @@
:extensions="extensions"
v-model="logInfo"
@ready="handleReady"
:readOnly="true"
:disabled="true"
/>
<template #footer>
<span class="dialog-footer">

View File

@ -46,7 +46,7 @@
:extensions="extensions"
@ready="handleReady"
v-model="logInfo"
:readOnly="true"
:disabled="true"
/>
</el-col>
</el-row>

View File

@ -48,7 +48,7 @@
:extensions="extensions"
@ready="handleReady"
v-model="logInfo"
:readOnly="true"
:disabled="true"
/>
</el-col>
</el-row>

View File

@ -94,7 +94,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="dockerConf"
:readOnly="true"
/>
<el-button :disabled="loading" type="primary" @click="onSaveFile" style="margin-top: 5px">
{{ $t('commons.button.save') }}

View File

@ -17,7 +17,7 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="detailInfo"
:readOnly="true"
:disabled="true"
/>
<template #footer>
<span class="dialog-footer">

View File

@ -35,7 +35,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="dialogData.rowData!.content"
:readOnly="true"
/>
</el-form-item>
</el-col>

View File

@ -141,7 +141,7 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="dialogData.rowData!.script"
:readOnly="true"
:disabled="true"
/>
</el-row>
<el-row>
@ -263,7 +263,7 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="currentRecordDetail"
:readOnly="true"
:disabled="true"
/>
</el-row>
</el-form>

View File

@ -55,7 +55,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="mysqlConf"
:readOnly="true"
/>
<el-button style="margin-top: 10px" @click="getDefaultConfig()">
{{ $t('app.defaultConfig') }}

View File

@ -33,7 +33,7 @@
:extensions="extensions"
@ready="handleReady"
v-model="slowLogs"
:readOnly="true"
:disabled="true"
/>
<br />

View File

@ -47,7 +47,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="redisConf"
:readOnly="true"
/>
<el-button style="margin-top: 10px" @click="getDefaultConfig()">
{{ $t('app.defaultConfig') }}

View File

@ -15,7 +15,7 @@
:extensions="extensions"
@ready="handleReady"
v-model="logs"
:readOnly="true"
:disabled="true"
/>
</template>
</LayoutContent>

View File

@ -31,7 +31,7 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="data.content"
:readOnly="true"
:disabled="true"
@ready="handleReady"
/>
</div>

View File

@ -12,7 +12,6 @@
:styleActiveLine="true"
:extensions="extensions"
v-model="content"
:readOnly="true"
/>
<div style="margin-top: 10px">
<el-button type="primary" @click="submit()">

View File

@ -13,7 +13,6 @@
:extensions="extensions"
:mode="'text/x-nginx-conf'"
v-model="content"
:readOnly="true"
/>
<div style="margin-top: 10px">
<el-button @click="getDefaultConfig()" :disabled="loading">