代码拉取完成,页面将自动刷新
同步操作将从 xuliangzhan/vxe-table 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
import XEUtils from 'xe-utils'
import Table from './packages/table'
import Column from './packages/column'
import Header from './packages/header'
import Body from './packages/body'
import Footer from './packages/footer'
import Filter from './packages/filter'
import Loading from './packages/loading'
import Grid from './packages/grid'
// import Excel from './packages/excel'
import Menu from './packages/menu'
import Toolbar from './packages/toolbar'
import Pager from './packages/pager'
import Checkbox from './packages/checkbox'
import Radio from './packages/radio'
import Input from './packages/input'
import Button from './packages/button'
import Message from './packages/message'
import Tooltip from './packages/tooltip'
import Export from './packages/export'
import Resize from './packages/resize'
import VXETable from './packages/v-x-e-table'
import zhCNLocat from './locale/lang/zh-CN'
// 默认主题
import './styles/index.scss'
// 按需加载的组件
export const components = [
Table,
Column,
Header,
Body,
Footer,
Filter,
Loading,
Grid,
// Excel,
Menu,
Toolbar,
Pager,
Checkbox,
Radio,
Input,
Button,
Message,
Tooltip,
Export,
Resize
]
// 默认安装
function install (Vue, options) {
if (XEUtils.isPlainObject(options)) {
VXETable.setup(options)
}
components.map(component => Vue.use(component))
}
// 默认中文
VXETable.setup({
i18n: (key, value) => XEUtils.get(zhCNLocat, key)
})
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
VXETable.install = install
export * from './packages/table'
export * from './packages/column'
export * from './packages/header'
export * from './packages/body'
export * from './packages/footer'
export * from './packages/filter'
export * from './packages/loading'
export * from './packages/grid'
// export * from './packages/excel'
export * from './packages/menu'
export * from './packages/toolbar'
export * from './packages/pager'
export * from './packages/checkbox'
export * from './packages/radio'
export * from './packages/input'
export * from './packages/button'
export * from './packages/message'
export * from './packages/tooltip'
export * from './packages/export'
export * from './packages/resize'
export * from './packages/v-x-e-table'
export default VXETable
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。