yxuse 3.0.64 → 3.0.65

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/lib/index.es6.js CHANGED
@@ -20411,13 +20411,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20411
20411
  columns.value = typeof props.columns === "function" ? await props.columns() : props.columns;
20412
20412
  columns.value.forEach((col) => {
20413
20413
  var _a, _b;
20414
- if (!col.renderType) return;
20415
- if (["select", "cascader"].includes(col.renderType) && ((_a = col == null ? void 0 : col.config) == null ? void 0 : _a.loadOptions)) {
20416
- loadOptions(col.config);
20417
- }
20418
- if (col.required || ((_b = col.rules) == null ? void 0 : _b.length)) {
20414
+ if (col.required || ((_a = col.rules) == null ? void 0 : _a.length)) {
20419
20415
  isFormTable.value = true;
20420
20416
  }
20417
+ if ((col == null ? void 0 : col.renderType) && ["select", "cascader"].includes(col == null ? void 0 : col.renderType) && ((_b = col == null ? void 0 : col.config) == null ? void 0 : _b.loadOptions)) {
20418
+ loadOptions(col.config);
20419
+ }
20421
20420
  });
20422
20421
  if (isFormTable.value) {
20423
20422
  getRules();
Binary file