@otwb/ui 2.0.22 → 2.0.24

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -583,10 +583,7 @@ const AppMenu = /* @__PURE__ */ defineComponent({
583
583
  target: "_blank",
584
584
  onClick: (d) => d.stopPropagation()
585
585
  }, [z.label()]);
586
- else if (U) {
587
- let d;
588
- createVNode(RouterLink, { to: z.path }, _isSlot$1(d = z.label()) ? d : { default: () => [d] });
589
- } else {
586
+ else {
590
587
  let d, B = createVNode(RouterLink, { to: z.path }, _isSlot$1(d = z.label()) ? d : { default: () => [d] }), H = createVNode("span", null, [z.label()]);
591
588
  W = createVNode(NTooltip, {
592
589
  placement: "top",
@@ -599,7 +596,6 @@ const AppMenu = /* @__PURE__ */ defineComponent({
599
596
  trigger: () => B
600
597
  });
601
598
  }
602
- else if (U) W = createVNode("span", null, [z.label()]);
603
599
  else {
604
600
  let d = createVNode("span", null, [z.label()]);
605
601
  W = createVNode(NTooltip, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwb/ui",
3
- "version": "2.0.22",
3
+ "version": "2.0.24",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "otwb UI",
@@ -90,7 +90,7 @@
90
90
  "vite": "npm:rolldown-vite@^7.1.20",
91
91
  "vue": "^3.5.22",
92
92
  "vue-router": "^4.6.3",
93
- "@otwb/page": "^2.0.0"
93
+ "@otwb/page": "^2.0.2"
94
94
  },
95
95
  "scripts": {
96
96
  "dev": "vite build --watch",