mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-04 12:59:52 +08:00
fix: 部分 codemirror 禁用输入
This commit is contained in:
parent
b91e5ffb4f
commit
f7749af999
@ -16,7 +16,7 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="detailInfo"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
|
@ -25,7 +25,7 @@
|
||||
:extensions="extensions"
|
||||
@ready="handleReady"
|
||||
v-model="logInfo"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -50,7 +50,6 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="form.file"
|
||||
:readOnly="true"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -16,7 +16,6 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="content"
|
||||
:readOnly="true"
|
||||
/>
|
||||
</div>
|
||||
<template #footer>
|
||||
|
@ -28,7 +28,7 @@
|
||||
:extensions="extensions"
|
||||
v-model="logInfo"
|
||||
@ready="handleReady"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
|
@ -46,7 +46,7 @@
|
||||
:extensions="extensions"
|
||||
@ready="handleReady"
|
||||
v-model="logInfo"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -48,7 +48,7 @@
|
||||
:extensions="extensions"
|
||||
@ready="handleReady"
|
||||
v-model="logInfo"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -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') }}
|
||||
|
@ -17,7 +17,7 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="detailInfo"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
|
@ -35,7 +35,6 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="dialogData.rowData!.content"
|
||||
:readOnly="true"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -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>
|
||||
|
@ -55,7 +55,6 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="mysqlConf"
|
||||
:readOnly="true"
|
||||
/>
|
||||
<el-button style="margin-top: 10px" @click="getDefaultConfig()">
|
||||
{{ $t('app.defaultConfig') }}
|
||||
|
@ -33,7 +33,7 @@
|
||||
:extensions="extensions"
|
||||
@ready="handleReady"
|
||||
v-model="slowLogs"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
|
||||
<br />
|
||||
|
@ -47,7 +47,6 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="redisConf"
|
||||
:readOnly="true"
|
||||
/>
|
||||
<el-button style="margin-top: 10px" @click="getDefaultConfig()">
|
||||
{{ $t('app.defaultConfig') }}
|
||||
|
@ -15,7 +15,7 @@
|
||||
:extensions="extensions"
|
||||
@ready="handleReady"
|
||||
v-model="logs"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
/>
|
||||
</template>
|
||||
</LayoutContent>
|
||||
|
@ -31,7 +31,7 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="data.content"
|
||||
:readOnly="true"
|
||||
:disabled="true"
|
||||
@ready="handleReady"
|
||||
/>
|
||||
</div>
|
||||
|
@ -12,7 +12,6 @@
|
||||
:styleActiveLine="true"
|
||||
:extensions="extensions"
|
||||
v-model="content"
|
||||
:readOnly="true"
|
||||
/>
|
||||
<div style="margin-top: 10px">
|
||||
<el-button type="primary" @click="submit()">
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user