update: 编辑器替换

This commit is contained in:
JiangQiming 2023-03-16 10:39:38 +08:00
parent e9d3546197
commit 1b046f96d2
2 changed files with 3 additions and 4 deletions

View File

@ -86,8 +86,8 @@
@cancel="modalVis = false"
@ok="handleItemModalSubmit"
>
<div style="width: 100%; height: 400px">
<MonacoEditor v-model:modelValue="objectValue" />
<div style="width: 100%; height: 300px">
<JMonacoEditor v-model:modelValue="objectValue" />
</div>
</j-modal>
</div>
@ -97,7 +97,6 @@
import { PropType } from 'vue';
import { UploadChangeParam, UploadFile } from 'ant-design-vue';
import { DefaultOptionType } from 'ant-design-vue/lib/select';
import MonacoEditor from '@/components/MonacoEditor/index.vue';
import GeoComponent from '@/components/GeoComponent/index.vue';
import { BASE_API_PATH, TOKEN_KEY } from '@/utils/variable';
import { LocalStore } from '@/utils/comm';

View File

@ -8,7 +8,7 @@
>
<j-row :gutter="30">
<j-col :span="15">
<MonacoEditor
<JMonacoEditor
:ref="`monacoEditor${func.id}`"
v-model="func.json"
theme="vs-dark"