mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-16 04:36:35 +08:00
fix: 切换暗模式时编辑器主题同步调整
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
<template>
|
||||
<div class="machine-file-content">
|
||||
<el-dialog :before-close="handleClose" :title="title || path" v-model="dialogVisible" :close-on-click-modal="false" top="5vh" width="65%">
|
||||
<el-dialog
|
||||
destroy-on-close
|
||||
:before-close="handleClose"
|
||||
:title="title || path"
|
||||
v-model="dialogVisible"
|
||||
:close-on-click-modal="false"
|
||||
top="5vh"
|
||||
width="65%"
|
||||
>
|
||||
<div>
|
||||
<monaco-editor :can-change-mode="true" v-model="content" :language="fileType" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user