sun-biz 0.0.3-beta.8 → 0.0.3-beta.9

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.
@@ -1465,6 +1465,10 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_SELECTION = 'sel
1465
1465
  type: Boolean,
1466
1466
  default: false
1467
1467
  },
1468
+ defaultQuery: {
1469
+ type: Boolean,
1470
+ default: true
1471
+ },
1468
1472
  rowKey: {
1469
1473
  default: 'id'
1470
1474
  },
@@ -1632,7 +1636,7 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_SELECTION = 'sel
1632
1636
  if (props.draggable) (0, __WEBPACK_EXTERNAL_MODULE_vue__.nextTick)(()=>{
1633
1637
  initDragSort();
1634
1638
  });
1635
- if (props.pagination && props?.fetchData) fetchList();
1639
+ if (props.pagination && props?.fetchData && props.defaultQuery) fetchList();
1636
1640
  });
1637
1641
  /**
1638
1642
  * 获取列表
package/dist/index.js CHANGED
@@ -1466,6 +1466,10 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_SELECTION = 'sel
1466
1466
  type: Boolean,
1467
1467
  default: false
1468
1468
  },
1469
+ defaultQuery: {
1470
+ type: Boolean,
1471
+ default: true
1472
+ },
1469
1473
  rowKey: {
1470
1474
  default: 'id'
1471
1475
  },
@@ -1633,7 +1637,7 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_SELECTION = 'sel
1633
1637
  if (props.draggable) (0, __WEBPACK_EXTERNAL_MODULE_vue__.nextTick)(()=>{
1634
1638
  initDragSort();
1635
1639
  });
1636
- if (props.pagination && props?.fetchData) fetchList();
1640
+ if (props.pagination && props?.fetchData && props.defaultQuery) fetchList();
1637
1641
  });
1638
1642
  /**
1639
1643
  * 获取列表
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.3-beta.8",
3
+ "version": "0.0.3-beta.9",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "src/*",