tenghui-ui 2.2.6 → 2.2.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenghui-ui",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "vue 2x, tenghui-ui",
5
5
  "files": [
6
6
  "dist",
@@ -399,8 +399,7 @@ export default {
399
399
  created() {
400
400
  // 设置默认tab
401
401
  this.checkTab = this.defaultTab;
402
-
403
- this.defaultPageSizes = this.pageSizes || this.$UICONFIG.pageSizes;
402
+ this.defaultPageSizes = this.pageSizes || this.$UICONFIG?.pageSizes || [20, 50, 100, 200, 500, 1000];
404
403
 
405
404
  // 默认map
406
405
  this.useMaps = JSON.parse(JSON.stringify(this.tableMap));