@okiss/oms 0.0.55 → 0.0.58

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.es.js CHANGED
@@ -3695,10 +3695,12 @@ const Bo = /* @__PURE__ */ $(Co, [["render", To]]), Oo = {
3695
3695
  }
3696
3696
  },
3697
3697
  methods: {
3698
+ itemClick() {
3699
+ re.remove("table_filter:" + this.$props.to);
3700
+ },
3698
3701
  getTo(e) {
3699
3702
  try {
3700
- const t = this.$router.resolve(e.redirect ? e.redirect : e);
3701
- return re.remove("table_filter:" + t.path), t.fullPath;
3703
+ return this.$router.resolve(e.redirect ? e.redirect : e).fullPath;
3702
3704
  } catch {
3703
3705
  return console.error("路由解析错误"), "/";
3704
3706
  }
@@ -3720,7 +3722,8 @@ function Mo(e, t, l, o, n, a) {
3720
3722
  default: c(() => [
3721
3723
  p(r, {
3722
3724
  index: l.to,
3723
- class: H({ "submenu-title-noDropdown": !l.isNest })
3725
+ class: H({ "submenu-title-noDropdown": !l.isNest }),
3726
+ onClick: a.itemClick
3724
3727
  }, {
3725
3728
  default: c(() => [
3726
3729
  p(s, {
@@ -3728,7 +3731,7 @@ function Mo(e, t, l, o, n, a) {
3728
3731
  }, null, 8, ["meta"])
3729
3732
  ]),
3730
3733
  _: 1
3731
- }, 8, ["index", "class"])
3734
+ }, 8, ["index", "class", "onClick"])
3732
3735
  ]),
3733
3736
  _: 1
3734
3737
  }, 8, ["to", "new-tab"])) : E("", !0)