@para-snack/core
Advanced tools
@@ -279,2 +279,6 @@ import React from 'react'; | ||
| /** | ||
| * 必填时,校验非空对象性,默认false | ||
| * */ | ||
| notEmptyObject?: boolean; | ||
| /** | ||
| * 始终禁止提交该字段,组装json时过滤,默认false | ||
@@ -281,0 +285,0 @@ */ |
@@ -30,1 +30,5 @@ import React from "react"; | ||
| export declare const replaceStrTemplateVars: (str: string, vars?: any) => string | React.JSX.Element; | ||
| /** | ||
| * 判断[]或者{} | ||
| * */ | ||
| export declare const isEmptyObject: (value: any) => boolean; |
+1
-1
| { | ||
| "name": "@para-snack/core", | ||
| "version": "2.3.6", | ||
| "version": "2.3.7", | ||
| "main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
+4
-0
@@ -0,1 +1,5 @@ | ||
| # 2.3.7 | ||
| update 校验增加notEmptyObject,不为空对象判断 | ||
| # 2.3.6 | ||
@@ -2,0 +6,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
339963
0.19%1764
0.51%511
0.79%