@vue-start/element-pro 0.2.31 → 0.2.33
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/CHANGELOG.md +8 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.es.js +510 -504
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ declare const proTableProps: () => {
|
|
|
102
102
|
* 选择
|
|
103
103
|
*/
|
|
104
104
|
selectedRowKeys: {
|
|
105
|
-
type: PropType<string[]
|
|
105
|
+
type: (PropType<string> | PropType<string[]>)[];
|
|
106
106
|
};
|
|
107
107
|
rowSelection: {
|
|
108
108
|
type: PropType<{
|
|
@@ -111,6 +111,14 @@ declare const proTableProps: () => {
|
|
|
111
111
|
slots?: Record<string, any> | undefined;
|
|
112
112
|
}) | undefined;
|
|
113
113
|
onChange?: ((selectedRowKeys: string[], selectedRows: Record<string, any>[]) => void) | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* 分页选择模式,type="multi" 模式下生效。
|
|
116
|
+
* 与当前页无关;可累计选择;
|
|
117
|
+
* 缺点:
|
|
118
|
+
* 1、如果初始化绑定的数据中存在数据源中不存在的数据,table中操作清空不了,需要外部处理(如:"清空"按钮);
|
|
119
|
+
* 2、onChange中没有rows
|
|
120
|
+
*/
|
|
121
|
+
pagination?: boolean | undefined;
|
|
114
122
|
}>;
|
|
115
123
|
default: undefined;
|
|
116
124
|
};
|