🔨 执行日志.

This commit is contained in:
lijiahangmax
2024-03-14 00:09:20 +08:00
parent b0afc8f80a
commit e98bace51b
33 changed files with 379 additions and 1426 deletions

View File

@@ -2,7 +2,7 @@
<a-modal v-model:visible="visible"
title-align="start"
:width="width"
:body-style="{padding: '16px 8px'}"
:body-style="{ padding: '16px 8px' }"
:top="80"
:title="title"
:align-center="false"
@@ -12,7 +12,7 @@
:footer="false"
@close="handleClose">
<div :style="{ width: '100%', 'height': height }">
<editor v-model="value" readonly />
<editor v-model="value" :readonly="readonly" />
</div>
</a-modal>
</template>
@@ -36,6 +36,10 @@
height: {
type: String,
default: 'calc(100vh - 240px)'
},
readonly: {
type: Boolean,
default: true
}
});

View File

@@ -2,7 +2,7 @@
<a-modal v-model:visible="visible"
title-align="start"
:width="width"
:body-style="{padding: '16px 8px'}"
:body-style="{ padding: '8px' }"
:top="80"
:title="title"
:align-center="false"
@@ -16,7 +16,8 @@
language="shell"
:suggestions="true"
:auto-focus="true"
:theme="dark ? 'vs-dark' : 'vs'" />
:theme="dark ? 'vs-dark' : 'vs'"
:readonly="readonly" />
</div>
</a-modal>
</template>
@@ -44,6 +45,10 @@
type: Boolean,
default: true
},
readonly: {
type: Boolean,
default: false
}
});
const { visible, setVisible } = useVisible();