fix: python dialog fullscreen
This commit is contained in:
parent
17616205b9
commit
116ceefd0a
@ -27,7 +27,7 @@
|
|||||||
:style="codemirrorStyle"
|
:style="codemirrorStyle"
|
||||||
:tab-size="4"
|
:tab-size="4"
|
||||||
:autofocus="true"
|
:autofocus="true"
|
||||||
style="height: 300px !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
style="height: calc(100vh - 160px) !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||||
/>
|
/>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-footer mt-24">
|
<div class="dialog-footer mt-24">
|
||||||
|
|||||||
@ -138,10 +138,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- Codemirror 弹出层 -->
|
<!-- Codemirror 弹出层 -->
|
||||||
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body>
|
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body fullscreen>
|
||||||
<CodemirrorEditor
|
<CodemirrorEditor
|
||||||
v-model="cloneContent"
|
v-model="cloneContent"
|
||||||
style="height: 300px !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
style="height: calc(100vh - 160px) !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||||
/>
|
/>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-footer mt-24">
|
<div class="dialog-footer mt-24">
|
||||||
|
|||||||
@ -100,10 +100,10 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<FieldFormDialog ref="FieldFormDialogRef" @refresh="refreshFieldList" />
|
<FieldFormDialog ref="FieldFormDialogRef" @refresh="refreshFieldList" />
|
||||||
<!-- Codemirror 弹出层 -->
|
<!-- Codemirror 弹出层 -->
|
||||||
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body>
|
<el-dialog v-model="dialogVisible" title="Python 代码" append-to-body fullscreen>
|
||||||
<CodemirrorEditor
|
<CodemirrorEditor
|
||||||
v-model="cloneContent"
|
v-model="cloneContent"
|
||||||
style="height: 300px !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
style="height: calc(100vh - 160px) !important; border: 1px solid #bbbfc4; border-radius: 4px"
|
||||||
/>
|
/>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-footer mt-24">
|
<div class="dialog-footer mt-24">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user