1 Star 0 Fork 864

星划天际 / Vue可视化表单

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install-render.js 610 Bytes
一键复制 编辑 原始数据 按行查看 历史
vdpAdmin 提交于 2022-02-21 14:33 . 版本更新到2.2.1:
import VFormRender from '@/components/form-render/index.vue'
import {loadExtension} from "@/extension/extension-loader"
import axios from "axios"
loadExtension()
VFormRender.install = function (Vue) {
Vue.component(VFormRender.name, VFormRender)
}
const components = [
VFormRender
]
const install = (Vue) => {
window.axios = axios
components.forEach(component => {
Vue.component(component.name, component)
})
}
if (typeof window !== 'undefined' && window.Vue) { /* script方式引入时主动调用install方法!! */
install(window.Vue);
}
export default {
install,
VFormRender
}
JavaScript
1
https://gitee.com/zzhsun/variant-form.git
git@gitee.com:zzhsun/variant-form.git
zzhsun
variant-form
Vue可视化表单
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891