zxl
2025-03-25 6ae0fcef149ddbe614746023a58a3885b3ac4bde
src/main.js
@@ -52,7 +52,16 @@
// 自定义搜索、控制表头显隐按钮
import VisibilityToolbar from '@/components/VisibilityToolbar'
// vform 表单设计器
import vform from '@/components/vform/VFormDesigner.umd.min.js'
import '@/components/vform/VFormDesigner.css'
// import 'vform-builds/dist/VFormDesigner.css'  //引入VForm样式
import modelerStore from '@/components/Process/common/global'
//同时注册了v-form-designer、v-form-render等组件
// 全局方法挂载
Vue.prototype.modelerStore = modelerStore
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
Vue.prototype.parseTime = parseTime
@@ -73,6 +82,7 @@
Vue.component('ImagePreview', ImagePreview)
Vue.component('VisibilityToolbar', VisibilityToolbar)
Vue.use(vform)
Vue.use(directive)
Vue.use(plugins)
Vue.use(VueMeta)