@otwb/ui 2.0.41 → 2.0.42

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 +4 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -945,7 +945,10 @@ const AppMultiTabs = /* @__PURE__ */ defineComponent({
945
945
  closable: z.closable,
946
946
  dark: d.dark,
947
947
  onClick: () => {
948
- G || H.push(z.fullPath);
948
+ if (!G) {
949
+ let d = new URL(z.href, window.location.origin);
950
+ H.push(`${d.pathname}${d.search}${d.hash}`);
951
+ }
949
952
  },
950
953
  onContextmenu: (d) => W(d, z)
951
954
  }, { default: () => [B.name ? B.name({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwb/ui",
3
- "version": "2.0.41",
3
+ "version": "2.0.42",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "otwb UI",
@@ -65,8 +65,8 @@
65
65
  "nanoid": "^5.1.6",
66
66
  "sortablejs": "^1.15.6",
67
67
  "vueuc": "^0.4.65",
68
- "@otwb/common": "^2.0.7",
69
- "@otwb/app": "^2.0.2"
68
+ "@otwb/app": "^2.0.2",
69
+ "@otwb/common": "^2.0.7"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@otwb/page": ">=4.0",