ztxkutils 2.4.5 → 2.4.8

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/hooks.js CHANGED
@@ -136,7 +136,7 @@ function useTableValidate(records, columns, tableName, expandProps) {
136
136
  _c.label = 6;
137
137
  case 6: return [3 /*break*/, 9];
138
138
  case 7:
139
- if (!!item[key]) return [3 /*break*/, 9];
139
+ if (!(item[key] === '' || item[key] == null)) return [3 /*break*/, 9];
140
140
  return [4 /*yield*/, Promise.reject({
141
141
  errorFields: [
142
142
  { errors: (tableName || '') + " \u7B2C" + (i + 1) + "\u884C" + title + "\u4E3A\u7A7A!" },