qidian-vue-ui 1.0.77 → 1.0.78

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.
@@ -12022,8 +12022,8 @@ const QdConfigProvider = vue.defineComponent({
12022
12022
  vue.watchEffect(async () => {
12023
12023
  const localeMap = {
12024
12024
  "zh-CN": () => Promise.resolve().then(() => zhCN$1),
12025
- "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-B5JmWw65.js")),
12026
- "en-US": () => Promise.resolve().then(() => require("./en-US-BRgdJEVB.js"))
12025
+ "zh-TW": () => Promise.resolve().then(() => require("./zh-TW-CWCKJ4er.js")),
12026
+ "en-US": () => Promise.resolve().then(() => require("./en-US-k1qUrTeE.js"))
12027
12027
  };
12028
12028
  const loadLocale = localeMap[props.locale] || localeMap["zh-CN"];
12029
12029
  const [err, res] = await to(
@@ -15998,6 +15998,10 @@ function useModal() {
15998
15998
  return;
15999
15999
  }
16000
16000
  instance?.destroy();
16001
+ },
16002
+ onClose: (context) => {
16003
+ options.onClose?.(context);
16004
+ instance?.destroy();
16001
16005
  }
16002
16006
  });
16003
16007
  return instance;
@@ -18973,4 +18977,4 @@ exports.useDictDynamic = useDictDynamic;
18973
18977
  exports.useDisabled = useDisabled;
18974
18978
  exports.useModal = useModal;
18975
18979
  exports.useReadonly = useReadonly;
18976
- //# sourceMappingURL=index-C-RG1oKB.js.map
18980
+ //# sourceMappingURL=index-CWxAZ81Q.js.map