@atooyu/uxto-ui 1.1.24 → 1.1.25

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.js CHANGED
@@ -4509,16 +4509,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
4509
4509
  vue.watch(() => props.visible, (val) => {
4510
4510
  if (val) {
4511
4511
  overlayVisible.value = true;
4512
- setTimeout(() => {
4513
- contentVisible.value = true;
4514
- emit("open");
4515
- }, 50);
4512
+ contentVisible.value = true;
4513
+ emit("open");
4516
4514
  } else {
4517
4515
  contentVisible.value = false;
4518
- setTimeout(() => {
4519
- overlayVisible.value = false;
4520
- emit("close");
4521
- }, props.duration);
4516
+ overlayVisible.value = false;
4517
+ emit("close");
4522
4518
  }
4523
4519
  });
4524
4520
  const handleOverlayClick = () => {
@@ -4558,7 +4554,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
4558
4554
  };
4559
4555
  }
4560
4556
  });
4561
- const uPopup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-75461084"]]);
4557
+ const uPopup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-26edf11f"]]);
4562
4558
  const _hoisted_1$4 = { class: "u-code-input" };
4563
4559
  const _hoisted_2$4 = { class: "u-code-input__wrapper" };
4564
4560
  const _hoisted_3$4 = {