@vtj/ui 0.8.96 → 0.8.97

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/dist/index.mjs CHANGED
@@ -8,10 +8,10 @@ import { useRouter as yd, RouterView as Sb, useRoute as Sh, routeLocationKey as
8
8
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
9
9
  * @name @vtj/ui
10
10
  * @author CHC chenhuachun1549@dingtalk.com
11
- * @version 0.8.96
11
+ * @version 0.8.97
12
12
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
13
13
  */
14
- const FI = "0.8.96", Ob = {
14
+ const FI = "0.8.97", Ob = {
15
15
  default: 14,
16
16
  small: 12,
17
17
  large: 18
@@ -1407,7 +1407,7 @@ const l1 = ["src"], ic = /* @__PURE__ */ nt({
1407
1407
  r
1408
1408
  ), $ = n1(o, s, r, i), P = o1(o, s, r), B = r1(o, a);
1409
1409
  cd(async () => {
1410
- o.modelValue && (await te(), l && r("open", l));
1410
+ o.modelValue ? (await te(), l && (r("open", l), document.body.classList.add("x-dialog-visible"))) : document.body.classList.remove("x-dialog-visible");
1411
1411
  });
1412
1412
  const ae = q(() => a.value?.$el);
1413
1413
  return t({