移除已废弃组件。

develop
vdpAdmin 2021-10-14 16:53:16 +08:00
parent 77779eefa9
commit 1439eb53d4
3 changed files with 0 additions and 23 deletions

View File

@ -1,10 +1,8 @@
import VFormRender from '@/components/form-render/index.vue'
import ContainerItem from "@/components/form-render/container-item";
import axios from "axios";
VFormRender.install = function (Vue) {
Vue.component(VFormRender.name, VFormRender)
Vue.component('container-item', ContainerItem)
}
const components = [
@ -12,10 +10,6 @@ const components = [
]
const install = (Vue) => {
/* 递归组件如需在递归组件的嵌套组件中使用,必须注册为全局组件,原因不明?? begin */
Vue.component('container-item', ContainerItem)
/* end */
components.forEach(component => {
Vue.component(component.name, component)
})

View File

@ -2,8 +2,6 @@ import axios from 'axios'
import VFormDesigner from '@/components/form-designer/index.vue'
import VFormRender from '@/components/form-render/index.vue'
import ContainerWidget from "@/components/form-designer/form-widget/container-widget";
import ContainerItem from "@/components/form-render/container-item";
import '@/utils/directive'
import '@/icons'
@ -11,12 +9,10 @@ import '@/iconfont/iconfont.css'
VFormDesigner.install = function (Vue) {
Vue.component(VFormDesigner.name, VFormDesigner)
Vue.component('container-widget', ContainerWidget)
}
VFormRender.install = function (Vue) {
Vue.component(VFormRender.name, VFormRender)
Vue.component('container-item', ContainerItem)
}
const components = [
@ -25,11 +21,6 @@ const components = [
]
const install = (Vue) => {
/* 递归组件如需在递归组件的嵌套组件中使用,必须注册为全局组件,原因不明?? begin */
Vue.component('container-widget', ContainerWidget)
Vue.component('container-item', ContainerItem)
/* end */
components.forEach(component => {
Vue.component(component.name, component)
})

View File

@ -7,19 +7,11 @@ import ElementUI from 'element-ui'
import './utils/directive'
import './icons'
import ContainerWidget from "@/components/form-designer/form-widget/container-widget";
import ContainerItem from "@/components/form-render/container-item";
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss'
import '@/iconfont/iconfont.css'
/* 递归组件如需在递归组件的嵌套组件中使用,必须注册为全局组件,原因不明?? begin */
Vue.component('container-widget', ContainerWidget)
Vue.component('container-item', ContainerItem)
/* end */
Vue.use(ElementUI, { size: 'small' })
if (typeof window !== 'undefined') {