@qin-ui/antd-vue-pro 1.0.28 → 1.0.29
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/es/style.css +2 -2
- package/es/table/index.js +4 -4
- package/package.json +1 -1
package/es/style.css
CHANGED
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
padding: 24px 24px 16px;
|
|
42
42
|
background-color: #fff;
|
|
43
43
|
}
|
|
44
|
-
.pro-table[data-v-
|
|
44
|
+
.pro-table[data-v-44c52bd8] {
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
min-width: 800px;
|
|
48
48
|
}
|
|
49
|
-
.pro-table[data-v-
|
|
49
|
+
.pro-table[data-v-44c52bd8] .ant-pagination .ant-pagination-total-text {
|
|
50
50
|
flex: 1;
|
|
51
51
|
}
|
package/es/table/index.js
CHANGED
|
@@ -482,12 +482,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
482
482
|
})
|
|
483
483
|
),
|
|
484
484
|
dataSource: attrs.dataSource ?? (dataSource == null ? void 0 : dataSource.value),
|
|
485
|
-
pagination: {
|
|
485
|
+
pagination: attrs.pagination ?? {
|
|
486
486
|
showTotal: (total) => `共 ${total} 条`,
|
|
487
487
|
showSizeChanger: true,
|
|
488
488
|
pageSizeOptions: ["10", "20", "30", "40", "50", "100", "400"],
|
|
489
489
|
showQuickJumper: true,
|
|
490
|
-
...
|
|
490
|
+
...pagination == null ? void 0 : pagination.value,
|
|
491
491
|
"onUpdate:current": onPaginationChange,
|
|
492
492
|
"onUpdate:pageSize": onPaginationChange
|
|
493
493
|
},
|
|
@@ -580,8 +580,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
580
580
|
};
|
|
581
581
|
}
|
|
582
582
|
});
|
|
583
|
-
const
|
|
584
|
-
const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
583
|
+
const Table_vue_vue_type_style_index_0_scoped_44c52bd8_lang = "";
|
|
584
|
+
const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-44c52bd8"]]);
|
|
585
585
|
const getDefaultPagination = () => ({ current: 1, pageSize: 10, total: 0 });
|
|
586
586
|
const useTable = ({
|
|
587
587
|
columns: initColumns = [],
|