fix: 修复 在线表单 编辑器组件无法使用问题

This commit is contained in:
konbai
2023-08-12 12:41:14 +08:00
parent bb2dabc938
commit 03a32f1309
3 changed files with 9 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ import CodeTypeDialog from './CodeTypeDialog'
import DraggableItem from './DraggableItem'
import { getDrawingList, saveDrawingList, getIdGlobal, saveIdGlobal, getFormConf } from '@/utils/db'
import loadBeautifier from '@/utils/loadBeautifier'
import Tinymce from '@/components/tinymce/index.vue'
import { getForm, addForm, updateForm } from '@/api/workflow/form'
import axios from 'axios'
import Vue from 'vue';
@@ -165,6 +166,7 @@ let tempActiveData
const drawingListInDB = getDrawingList()
const formConfInDB = getFormConf()
const idGlobal = getIdGlobal()
Vue.component('tinymce', Tinymce)
Vue.prototype.$axios = axios
export default {