hrp-ui-base 1.4.1 → 1.4.2

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.
@@ -6754,7 +6754,7 @@ const Se = ee("layout-tabs", () => {
6754
6754
  }, J = (j, nA) => !j || !nA ? !1 : j.split("?")[0] === nA.split("?")[0], m = (j) => {
6755
6755
  j.url && w.value !== j.url && (e == null || e.push({ path: j.url }));
6756
6756
  }, p = (j, nA) => {
6757
- l.changeCurrentSecondIndex(nA, !0, e);
6757
+ l.changeCurrentSecondIndex(nA, z.value === "left", e);
6758
6758
  }, K = () => {
6759
6759
  const j = [
6760
6760
  "imd",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hrp-ui-base",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "HRP 前端公共组件、工具方法和基础样式包",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -11,7 +11,7 @@
11
11
  "devDependencies": {},
12
12
  "module": "index.ts",
13
13
  "peerDependencies": {
14
- "hrp-ui-base": "1.4.1",
14
+ "hrp-ui-base": "1.4.2",
15
15
  "vue": "^3.0.0"
16
16
  }
17
17
  }
@@ -210,7 +210,7 @@ const handleMenuItemClick = (item: HomeMenu) => {
210
210
  };
211
211
 
212
212
  const handleParentClick = (_item: HomeMenu, index: number) => {
213
- menuStore.changeCurrentSecondIndex(index, true, router);
213
+ menuStore.changeCurrentSecondIndex(index, menuPosition.value === "left", router);
214
214
  };
215
215
 
216
216
  const goHomePage = () => {