htui-yllkbz 1.2.13 → 1.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-08 11:30:56
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-12-09 16:20:43
7
+ * @LastEditTime: 2021-12-09 18:04:54
8
8
  -->
9
9
 
10
10
  <!--
@@ -44,7 +44,9 @@ interface State {
44
44
  };
45
45
  }
46
46
 
47
- @Component
47
+ @Component({
48
+ name: "HtPagination",
49
+ })
48
50
  export default class HtPagination extends Vue {
49
51
  /** 通用样式 */
50
52
  @Prop() comStyle!: string;
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-10-21 10:08:41
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-12-09 14:21:37
7
+ * @LastEditTime: 2021-12-09 17:27:01
8
8
  */
9
9
 
10
10
  // 导入组件
@@ -36,6 +36,6 @@ export default {
36
36
  // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
37
37
  install,
38
38
  // 以下是具体的组件列表
39
- HtSelectTable
39
+ HtSelectTable, HtPagination, HtTable
40
40
  }
41
41
 
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-11-15 14:41:40
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2021-12-09 16:47:22
7
+ * @LastEditTime: 2021-12-09 18:02:57
8
8
  -->
9
9
  <template>
10
10
  <div>
@@ -45,17 +45,21 @@ export default class Index extends Vue {
45
45
  state: State = {
46
46
  loading: false,
47
47
  data: [
48
- { name: "胡涛", age: 12, sex: 0, id: 1 },
49
- { name: "胡涛", age: 12, sex: 1, id: 2 },
50
- { name: "胡涛", age: 12, sex: 1, id: 3 },
51
- { name: "胡涛", age: 12, sex: 0, id: 4 },
48
+ { name: "胡涛", age: 12, sex: 0, id: 1, test: { title: "测试" } },
49
+ { name: "胡涛", age: 12, sex: 1, id: 2, test: { title: "测试" } },
50
+ { name: "胡涛", age: 12, sex: 1, id: 3, test: { title: "测试" } },
51
+ { name: "胡涛", age: 12, sex: 0, id: 4, test: { title: "测试" } },
52
52
  ],
53
53
  columns: [
54
54
  {
55
55
  title: "姓名",
56
- key: "name",
56
+ key: "test.title",
57
57
  width: "300px",
58
58
  },
59
+ {
60
+ title: "姓额外名",
61
+ key: "name",
62
+ },
59
63
  {
60
64
  title: "age",
61
65
  key: "age",