在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:vue-easytable开源软件地址:https://gitee.com/huangshuwei/vue-easytable开源软件介绍:vue-easytableEnglish | 中文 Sponsors通过成为赞助商来支持这个项目。您的商标或名称将与您提供的链接一起显示在此处。成为赞助商 Gold SponsorSilver SponsorGenerous Sponsor
介绍一个基于 Vue2.x 的表格组件 API & 文档功能支持基础组件 Table 组件
如果没有你想要的的功能,请告诉我们 安装npm install vue-easytable or yarn add vue-easytable 使用Write the following in mian.js: import Vue from "vue";import "vue-easytable/libs/theme-default/index.css";import VueEasytable from "vue-easytable";Vue.use(VueEasytable);new Vue({ el: "#app", render: (h) => h(App),}); Example: <template> <ve-table :columns="columns" :table-data="tableData" /></template><script> export default { data() { return { columns: [ { field: "name", key: "a", title: "Name", align: "center" }, { field: "date", key: "b", title: "Date", align: "left" }, { field: "hobby", key: "c", title: "Hobby", align: "right" }, { field: "address", key: "d", title: "Address" }, ], tableData: [ { name: "John", date: "1900-05-20", hobby: "coding and coding repeat", address: "No.1 Century Avenue, Shanghai", }, { name: "Dickerson", date: "1910-06-20", hobby: "coding and coding repeat", address: "No.1 Century Avenue, Beijing", }, { name: "Larsen", date: "2000-07-20", hobby: "coding and coding repeat", address: "No.1 Century Avenue, Chongqing", }, { name: "Geneva", date: "2010-08-20", hobby: "coding and coding repeat", address: "No.1 Century Avenue, Xiamen", }, { name: "Jami", date: "2020-09-20", hobby: "coding and coding repeat", address: "No.1 Century Avenue, Shenzhen", }, ], }; }, };</script> 开发计划支持环境
如何贡献如果你希望参与贡献,欢迎Pull Request 贡献者们感谢以下小伙伴们做出的贡献 |
请发表评论