star-horse-lowcode 2.7.41 → 2.7.42

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/README.md CHANGED
@@ -264,6 +264,22 @@ barcode 条形码组件
264
264
  12. 2025-05-27 优化本组件从项目中剥离时将遗留耦合的业务代码进一步剥离,保证组件的独立性,同时替换过时的组件
265
265
  13. 2025-06-02 修复判断数据是否Json bug
266
266
  14. 2025-06-05 修复已知Bug
267
+ 15. 2025-06-06 增加按钮响应事件的前置校验 preValidFunc:
268
+ <star-horse-table-comp
269
+ ref="projectMemberRef"
270
+ :fieldList="tableFieldList"
271
+ :primaryKey="primaryKey"
272
+ :preValidFunc="[{
273
+ authority:'add',
274
+ valid:()=>{
275
+ //返回true 表示校验通过,返回false 表示校验不通过
276
+ return projectId !='-1'
277
+ },
278
+ msg:'请先选择项目'
279
+ }]"
280
+ :compUrl="dataUrl"
281
+ :dataFormat="dataFormat"
282
+ />
267
283
 
268
284
 
269
285