qidian-vue-ui 1.1.14 → 1.1.15

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.
@@ -12803,8 +12803,8 @@ const QdConfigProvider = defineComponent({
12803
12803
  watchEffect(async () => {
12804
12804
  const localeMap = {
12805
12805
  "zh-CN": () => Promise.resolve().then(() => zhCN$1),
12806
- "zh-TW": () => import("./zh-TW-Dsw4L9Gz.mjs"),
12807
- "en-US": () => import("./en-US-eJ0Nd4SB.mjs")
12806
+ "zh-TW": () => import("./zh-TW-CkcVMdfn.mjs"),
12807
+ "en-US": () => import("./en-US-ChQ_hdMg.mjs")
12808
12808
  };
12809
12809
  const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
12810
12810
  const [err, res] = await to(
@@ -16627,9 +16627,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
16627
16627
  const { multiple, keys: keys2 } = selectOptions2;
16628
16628
  const labelKey = keys2?.label || qdServiceSelectKeys.label;
16629
16629
  if (multiple) {
16630
- const selectedLabels = context.selectedOptions?.map(
16631
- (option) => option[labelKey]
16632
- ).filter(Boolean) || [];
16630
+ const selectedLabels = context.selectedOptions?.map((option) => option[labelKey]).filter(Boolean) || [];
16633
16631
  reValueLabel.value = selectedLabels;
16634
16632
  } else {
16635
16633
  reValueLabel.value = context.option?.[labelKey] || "";
@@ -16760,7 +16758,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
16760
16758
  fillOptionsWatchStop = watch(
16761
16759
  () => reProps.value.fillOptions,
16762
16760
  (fillOpts) => {
16763
- if (fillOpts?.length) options.value = fillOpts;
16761
+ if (!fillOpts?.length) return;
16762
+ options.value = fillOpts;
16763
+ triggerServiceMerged = true;
16764
16764
  },
16765
16765
  { immediate: true, deep: true }
16766
16766
  );
@@ -16817,7 +16817,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
16817
16817
  };
16818
16818
  }
16819
16819
  });
16820
- const QdServiceSelect = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-3096e760"]]);
16820
+ const QdServiceSelect = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-b3729d31"]]);
16821
16821
  const qdDialogProps = {
16822
16822
  width: "min(960px, 100%)",
16823
16823
  theme: "default",
@@ -55167,7 +55167,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
55167
55167
  content: path,
55168
55168
  abbreviatedContent: path
55169
55169
  };
55170
- const abbreviatedContentSplit = res.abbreviatedContent.split("/");
55170
+ const abbreviatedContentSplit = res.abbreviatedContent?.split("/") || [];
55171
55171
  if (abbreviatedContentSplit.length > 2) {
55172
55172
  res.tooltipDisabled = false;
55173
55173
  res.abbreviatedContent = `${abbreviatedContentSplit[0]}/.../${abbreviatedContentSplit[abbreviatedContentSplit.length - 1]}`;
@@ -55858,4 +55858,4 @@ export {
55858
55858
  _sfc_main$1 as y,
55859
55859
  _sfc_main$b as z
55860
55860
  };
55861
- //# sourceMappingURL=index-CmNjNw2f.mjs.map
55861
+ //# sourceMappingURL=index-Dd5tbuJy.mjs.map