qidian-vue-ui 1.1.7 → 1.1.9

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.
@@ -12772,8 +12772,8 @@ const QdConfigProvider = defineComponent({
12772
12772
  watchEffect(async () => {
12773
12773
  const localeMap = {
12774
12774
  "zh-CN": () => Promise.resolve().then(() => zhCN$1),
12775
- "zh-TW": () => import("./zh-TW-BoJu64N9.mjs"),
12776
- "en-US": () => import("./en-US-7f9PEjC1.mjs")
12775
+ "zh-TW": () => import("./zh-TW-fSZem_sP.mjs"),
12776
+ "en-US": () => import("./en-US-FtzRY_7n.mjs")
12777
12777
  };
12778
12778
  const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
12779
12779
  const [err, res] = await to(
@@ -16483,7 +16483,7 @@ const qdDialogProps = {
16483
16483
  closeOnEscKeydown: true,
16484
16484
  closeOnOverlayClick: false,
16485
16485
  confirmOnEnter: void 0,
16486
- destroyOnClose: true,
16486
+ destroyOnClose: false,
16487
16487
  lazy: true,
16488
16488
  placement: "center",
16489
16489
  preventScrollThrough: true,
@@ -17229,8 +17229,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
17229
17229
  qdDialogOptions: {
17230
17230
  ...wrapper,
17231
17231
  onOpened: () => {
17232
- wrapper.onOpened?.();
17233
17232
  Object.assign(expose, formRef.value);
17233
+ wrapper.onOpened?.();
17234
+ },
17235
+ onBeforeClose: () => {
17236
+ formRef.value?.reset();
17237
+ wrapper.onBeforeClose?.();
17234
17238
  },
17235
17239
  confirmLoading: reConfirmLoading,
17236
17240
  closeOnEscKeydown: loading || reConfirmLoading ? false : wrapper.closeOnEscKeydown,
@@ -55780,4 +55784,4 @@ export {
55780
55784
  _sfc_main$1 as y,
55781
55785
  _sfc_main$b as z
55782
55786
  };
55783
- //# sourceMappingURL=index-CD1XVZDq.mjs.map
55787
+ //# sourceMappingURL=index-Bks__9tY.mjs.map