3h1-ui 2.14.97 → 2.14.99

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/es/index.js CHANGED
@@ -4124,6 +4124,7 @@ const _sfc_main$1q = defineComponent({
4124
4124
  console.warn(error2);
4125
4125
  } finally {
4126
4126
  loading.value = false;
4127
+ isFirstLoad.value = false;
4127
4128
  }
4128
4129
  }
4129
4130
  async function handleFetch(visible) {
@@ -10710,6 +10711,9 @@ function createPlaceholderMessage$1(component) {
10710
10711
  if (component.includes("Transfer") || component.includes("Select") || component.includes("Cascader") || component.includes("Checkbox") || component.includes("Radio") || component.includes("Switch")) {
10711
10712
  return "请选择";
10712
10713
  }
10714
+ if (component.includes("Table")) {
10715
+ return "请至少添加一条";
10716
+ }
10713
10717
  return "";
10714
10718
  }
10715
10719
  const DATE_TYPE = ["DatePicker", "MonthPicker", "WeekPicker", "TimePicker"];
@@ -10994,7 +10998,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
10994
10998
  rulesMessageJoinLabel: globalRulesMessageJoinLabel
10995
10999
  } = props2.formProps;
10996
11000
  const joinLabel = Reflect.has(props2.schema, "rulesMessageJoinLabel") ? rulesMessageJoinLabel : globalRulesMessageJoinLabel;
10997
- const defaultMsg = createPlaceholderMessage$1(component) + `${joinLabel ? label : ""}`;
11001
+ const defaultMsg = createPlaceholderMessage$1(component) + `${joinLabel ? label ? label : "" : ""}`;
10998
11002
  function validator(rule, value) {
10999
11003
  const msg = rule.message || defaultMsg;
11000
11004
  if (value === void 0 || isNull(value)) {
package/lib/index.js CHANGED
@@ -4148,6 +4148,7 @@ const _sfc_main$1q = vue.defineComponent({
4148
4148
  console.warn(error2);
4149
4149
  } finally {
4150
4150
  loading.value = false;
4151
+ isFirstLoad.value = false;
4151
4152
  }
4152
4153
  }
4153
4154
  async function handleFetch(visible) {
@@ -10734,6 +10735,9 @@ function createPlaceholderMessage$1(component) {
10734
10735
  if (component.includes("Transfer") || component.includes("Select") || component.includes("Cascader") || component.includes("Checkbox") || component.includes("Radio") || component.includes("Switch")) {
10735
10736
  return "请选择";
10736
10737
  }
10738
+ if (component.includes("Table")) {
10739
+ return "请至少添加一条";
10740
+ }
10737
10741
  return "";
10738
10742
  }
10739
10743
  const DATE_TYPE = ["DatePicker", "MonthPicker", "WeekPicker", "TimePicker"];
@@ -11018,7 +11022,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
11018
11022
  rulesMessageJoinLabel: globalRulesMessageJoinLabel
11019
11023
  } = props2.formProps;
11020
11024
  const joinLabel = Reflect.has(props2.schema, "rulesMessageJoinLabel") ? rulesMessageJoinLabel : globalRulesMessageJoinLabel;
11021
- const defaultMsg = createPlaceholderMessage$1(component) + `${joinLabel ? label : ""}`;
11025
+ const defaultMsg = createPlaceholderMessage$1(component) + `${joinLabel ? label ? label : "" : ""}`;
11022
11026
  function validator(rule, value) {
11023
11027
  const msg = rule.message || defaultMsg;
11024
11028
  if (value === void 0 || utils.isNull(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "2.14.97",
3
+ "version": "2.14.99",
4
4
  "description": "",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",