@lx-frontend/wrap-element-ui 1.0.22 → 1.0.23
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/package.json
CHANGED
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
layout="sizes, prev, pager, next, jumper"
|
|
310
310
|
:page-sizes="pageSizes"
|
|
311
311
|
:page-size.sync="pageSize"
|
|
312
|
-
:pager-count="
|
|
312
|
+
:pager-count="pagerCount"
|
|
313
313
|
:current-page="currentPage"
|
|
314
314
|
:total="total"
|
|
315
315
|
@size-change="handlePageSizeChange"
|
|
@@ -380,6 +380,8 @@ interface IProps {
|
|
|
380
380
|
/** 页码 */
|
|
381
381
|
currentPage: number
|
|
382
382
|
pageSizes?: number[]
|
|
383
|
+
/** 分页器展示数量 */
|
|
384
|
+
pagerCount?: number;
|
|
383
385
|
}
|
|
384
386
|
|
|
385
387
|
interface IEmits {
|
|
@@ -435,6 +437,7 @@ const props = withDefaults(defineProps<IProps>(), {
|
|
|
435
437
|
localFilter: false,
|
|
436
438
|
currentPage: 1,
|
|
437
439
|
pageSizes: () => [10, 15, 30, 60, 100],
|
|
440
|
+
pagerCount: 11,
|
|
438
441
|
});
|
|
439
442
|
|
|
440
443
|
// 同defineProps一样,不支持泛型参数从外部导入
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
v-for="({
|
|
9
9
|
isEmpty = true, key, type, prop, label, placeholder, candidate, filterable=false, withoutAll=false, collapseTags=false,
|
|
10
10
|
clearable=false, multiple=false, multipleLimit=0, changeCb, inputLimitCallback, slotName, dateType='date',
|
|
11
|
-
doubleIsInline = true, maxlength = 255, pickerOptions, limit
|
|
11
|
+
doubleIsInline = true, maxlength = 255, pickerOptions, limit, required = false
|
|
12
12
|
}) in config"
|
|
13
|
+
:required="required"
|
|
13
14
|
:key="label"
|
|
14
15
|
:label="showLabel ? label : ''"
|
|
15
16
|
style="margin-right: 10px"
|