1 Star 0 Fork 894

lihu/Vue低代码可视化表单

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
install-render.js 610 Bytes
Copy Edit Raw Blame History
vdpAdmin authored 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
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lihu_tig/variant-form.git
git@gitee.com:lihu_tig/variant-form.git
lihu_tig
variant-form
Vue低代码可视化表单
master

Search