:import-config="{}" :export-config="{}" @sort-change="sortChangeHandle" :sort-config="{ remote: true }" :expand-config="{ accordion: true, lazy: true }" :data="dataList" :checkbox-config="{}" > <vxe-column type="seq" width="40"></vxe-column> <vxe-column type="checkbox" w...
git config --global user.name userName git config --global user.email userEmail 分支5 标签787 xuliangzhanreleases 4.7.65441ef704个月前 3022 次提交 提交 .gitee 增加参数 custom-config.storage.fixed、增加方法 setColumnFixed、clearColumnFixed ...
2.main.js中注册全局组件: import'xe-utils'importVXETablefrom'vxe-table'import'vxe-table/lib/style.css'Vue.use(VXETable) 3.组件中使用方法: 这里举例为高级表格,自定义工具栏名称、图标。 <template><vxe-gridv-bind="gridOptions"><template#name_edit="{ row }"><vxe-inputv-model="row.name"/>...
toolbarConfig:{import:true,export:true,} 2.配置导入 导出属性 exportConfig:{remote:true,exportMethod:this.doExport,types:['xlsx','xls'],modes:['current','selected','all']}, importConfig:{remote:true,importMethod:this.importMethod,types:['xlsx','xls'],modes:['insert']}, ...
:import-config="{}" :export-config="{}" :custom-config="{mode: 'drawer', storage: true}" :loading="demo1.loading" :expand-config="{iconOpen: 'vxe-icon-question-circle-fill', iconClose: 'vxe-icon-question-circle-fill'}" :checkbox-config="{labelField: 'id', highlight: true, range...
importVuefrom"vue";importAppfrom"./App.vue";importrouterfrom"./router";importstorefrom"./store";import'xe-utils';importVXETablefrom'vxe-table';import'vxe-table/lib/index.css';Vue.use(VXETable);Vue.config.productionTip=false;newVue({router,store,render:h=>h(App)}).$mount("#app"); ...
if (!importConfig) { log.err('vxe.error.reqProp', ['import-config']) errLog('vxe.error.reqProp', ['import-config']) } // 处理类型 const typeList = types.map((value: any) => { @@ -1318,7 +1323,7 @@ hooks.add('tableExportModule', { const exportOpts = computeExportOpts.va...
import'xe-utils'import'./plugins/table' 安装插件,支持按需加载 npm install babel-plugin-import -D 修改.babelrc 或 babel.config.js 配置文件 module.exports = {// ...,plugins: [ ['import', {'libraryName':'vxe-table','style':true}
importVXETablefrom'vxe-table'; import'vxe-table/lib/index.css'; Vue.use(VXETable); Vue.config.productionTip=false; newVue({ router, store, render:h=>h(App) }).$mount("#app"); 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. ...
// 引入全局变量@import'vxe-table/styles/variable.scss';// 修改样式变量$vxe-font-size:14px;$vxe-font-color:#666;// ...// 引入全部模块样式@import'vxe-table/styles/modules.scss'; vxe-table https://xuliangzhan_admin.gitee.io/vxe-table/v3/#/table/api ...