mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-16 17:09:20 +08:00
修改log日志
This commit is contained in:
@@ -6,18 +6,6 @@ body {
|
||||
|
||||
@import '~codemirror/lib/codemirror.css';
|
||||
|
||||
.log-modal-code {
|
||||
.CodeMirror {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.CodeMirror-scroll {
|
||||
height: auto;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.ql-container-wrapper {
|
||||
.CodeMirror {
|
||||
position: absolute;
|
||||
@@ -78,13 +66,4 @@ body {
|
||||
height: calc(100vh - var(--vh-offset, 0px) - 176px);
|
||||
}
|
||||
}
|
||||
|
||||
.log-modal-code {
|
||||
.CodeMirror-sizer {
|
||||
width: 380px;
|
||||
transform: scale(0.83);
|
||||
transform-origin: top left;
|
||||
min-height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,20 +99,7 @@ const CronLogModal = ({
|
||||
onOk={() => cancel()}
|
||||
onCancel={() => cancel()}
|
||||
>
|
||||
{!loading && value && (
|
||||
<CodeMirror
|
||||
value={value}
|
||||
className="log-modal-code"
|
||||
options={{
|
||||
lineWrapping: true,
|
||||
readOnly: true,
|
||||
}}
|
||||
onBeforeChange={(editor, data, value) => {
|
||||
setValue(value);
|
||||
}}
|
||||
onChange={(editor, data, value) => {}}
|
||||
/>
|
||||
)}
|
||||
{!loading && value && <pre>{value}</pre>}
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user