@ftjs/core 0.1.0 → 0.1.2

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/dist/index.js CHANGED
@@ -241,7 +241,6 @@ const useForm = (props, formData, runtimePropsKeys) => {
241
241
  watchMap.forEach((cancel) => cancel());
242
242
  watchMap.clear();
243
243
  hideFieldSet.value.clear();
244
- console.warn(`[@ftjs/core] 检测到columns在改变,应该尽量避免变动`);
245
244
  });
246
245
  addFormDefaultValue();
247
246
  runFieldWatch();
@@ -528,7 +527,7 @@ function defineFtTable(setup, _runtimeProps) {
528
527
  "columns",
529
528
  "searchColumns",
530
529
  "total",
531
- "defaultPageSize",
530
+ ["defaultPageSize", { type: Number, default: 20 }],
532
531
  ["loading", { type: Boolean }],
533
532
  "internalTableProps",
534
533
  "internalFormProps",
@@ -37,6 +37,8 @@ export interface FtTableIntrinsicProps<TableData extends Record<string, any>, Se
37
37
  total?: number;
38
38
  /**
39
39
  * 默认每页条数
40
+ *
41
+ * @default 20
40
42
  */
41
43
  defaultPageSize?: number;
42
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ftjs/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "license": "MIT",