diff --git a/src/components/rightBox/settings/ChartBox.vue b/src/components/rightBox/settings/ChartBox.vue index 044adf1f..29ad90fc 100644 --- a/src/components/rightBox/settings/ChartBox.vue +++ b/src/components/rightBox/settings/ChartBox.vue @@ -103,8 +103,12 @@ - - + + @@ -130,10 +134,17 @@ import rightBoxMixin from '@/mixins/rightBox' import { get, post, put } from '@/utils/http' import { panelTypeAndRouteMapping } from '@/utils/constants' import { api } from '@/utils/api' +import { VAceEditor } from 'vue3-ace-editor' +import 'ace-builds/src-noconflict/mode-javascript' +import 'ace-builds/src-noconflict/mode-json' +import 'ace-builds/src-noconflict/theme-chrome' export default { name: 'ChartBox', mixins: [rightBoxMixin], + components: { + VAceEditor + }, data () { return { url: api.chart, @@ -380,3 +391,13 @@ export default { } } + \ No newline at end of file