br-dionysus 0.7.12 → 0.7.14
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.
- package/README.md +9 -11
- package/dist/br-dionysus.es.js +650 -638
- package/dist/br-dionysus.umd.js +3 -3
- package/dist/index.css +1 -1
- package/dist/packages/MSelectTable/src/index.vue.d.ts +1 -1
- package/dist/packages/MTableColumn/src/index.vue.d.ts +9 -0
- package/package.json +1 -1
- package/packages/MSelectTable/docs/demo.vue +1 -1
- package/packages/MSelectTable/src/index.vue +2 -2
- package/packages/MTableColumn/docs/README.md +7 -9
- package/packages/MTableColumn/docs/demo.vue +1 -1
package/README.md
CHANGED
|
@@ -271,7 +271,7 @@ const test = ref<number>(0)
|
|
|
271
271
|
|
|
272
272
|
<script setup lang="ts">
|
|
273
273
|
import { ref } from 'vue'
|
|
274
|
-
import { Page } from '
|
|
274
|
+
import { Page } from '../../typings/class'
|
|
275
275
|
|
|
276
276
|
const code = ref<string>('')
|
|
277
277
|
const options = ref<Option[]>()
|
|
@@ -507,7 +507,7 @@ interface User {
|
|
|
507
507
|
address: string;
|
|
508
508
|
tag: string;
|
|
509
509
|
}
|
|
510
|
-
const tableData = ref
|
|
510
|
+
const tableData = ref<User[]>([
|
|
511
511
|
{
|
|
512
512
|
date: "2016-05-03",
|
|
513
513
|
name: "Tom",
|
|
@@ -585,15 +585,13 @@ const tableTitle = [
|
|
|
585
585
|
```
|
|
586
586
|
|
|
587
587
|
### 2) Attributes
|
|
588
|
-
| 参数
|
|
589
|
-
|
|
|
590
|
-
|filtersValue
|
|
591
|
-
|filters
|
|
592
|
-
|filterMethod
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
588
|
+
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
|
589
|
+
| ------------ | ----------------------------------- | ------------------ | ------ | --------------------------------------------------- |
|
|
590
|
+
| filtersValue | 列筛选过滤条件 | object | - | { } |
|
|
591
|
+
| filters | 表格筛选数据 | string[],number[] | - | any[] |
|
|
592
|
+
| filterMethod | 筛选方法 | Function | - | () => void |
|
|
593
|
+
| children | 多级表头 时使用传递对应数据进行循环 | Table-column API[] | - | [] |
|
|
594
|
+
| 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
|
|
597
595
|
|
|
598
596
|
|
|
599
597
|
|