update: 编辑器替换
This commit is contained in:
parent
e9d3546197
commit
1b046f96d2
|
@ -86,8 +86,8 @@
|
||||||
@cancel="modalVis = false"
|
@cancel="modalVis = false"
|
||||||
@ok="handleItemModalSubmit"
|
@ok="handleItemModalSubmit"
|
||||||
>
|
>
|
||||||
<div style="width: 100%; height: 400px">
|
<div style="width: 100%; height: 300px">
|
||||||
<MonacoEditor v-model:modelValue="objectValue" />
|
<JMonacoEditor v-model:modelValue="objectValue" />
|
||||||
</div>
|
</div>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</div>
|
</div>
|
||||||
|
@ -97,7 +97,6 @@
|
||||||
import { PropType } from 'vue';
|
import { PropType } from 'vue';
|
||||||
import { UploadChangeParam, UploadFile } from 'ant-design-vue';
|
import { UploadChangeParam, UploadFile } from 'ant-design-vue';
|
||||||
import { DefaultOptionType } from 'ant-design-vue/lib/select';
|
import { DefaultOptionType } from 'ant-design-vue/lib/select';
|
||||||
import MonacoEditor from '@/components/MonacoEditor/index.vue';
|
|
||||||
import GeoComponent from '@/components/GeoComponent/index.vue';
|
import GeoComponent from '@/components/GeoComponent/index.vue';
|
||||||
import { BASE_API_PATH, TOKEN_KEY } from '@/utils/variable';
|
import { BASE_API_PATH, TOKEN_KEY } from '@/utils/variable';
|
||||||
import { LocalStore } from '@/utils/comm';
|
import { LocalStore } from '@/utils/comm';
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
>
|
>
|
||||||
<j-row :gutter="30">
|
<j-row :gutter="30">
|
||||||
<j-col :span="15">
|
<j-col :span="15">
|
||||||
<MonacoEditor
|
<JMonacoEditor
|
||||||
:ref="`monacoEditor${func.id}`"
|
:ref="`monacoEditor${func.id}`"
|
||||||
v-model="func.json"
|
v-model="func.json"
|
||||||
theme="vs-dark"
|
theme="vs-dark"
|
||||||
|
|
Loading…
Reference in New Issue