kc-aui
Version:
后台业务组件集合
31 lines (25 loc) • 558 B
JavaScript
/**
* Copyright (c) 2015-2020 Duozhi, All rights reserved.
* @fileoverview 后台业务组件
* @author Haobo | liuhaobo@kaochong.com
* @version 1.0 | 2020.09.01 初始版本
*/
import List from './List/index.js'
import Search from './Search/index.js'
let components = [ List, Search ]
let install = function (vue) {
if (install.installed) {
return true
}
components.map((c) => {
vue.component(c.name, c)
})
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
export default {
install,
List,
Search
}