@okiss/oms 0.0.40 → 0.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.
package/dist/index.es.js CHANGED
@@ -63,8 +63,9 @@ const Al = /* @__PURE__ */ q({
63
63
  setup(e) {
64
64
  var t, l, n, o;
65
65
  return Ke(() => {
66
+ var s;
66
67
  const a = document.getElementById("preloader");
67
- a !== null && (document.body.removeChild(a), Vt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), qt(`.iconfont {
68
+ a !== null && (document.body.removeChild(a), (s = document.getElementById("preloader")) == null || s.remove(), Vt("test-icon", "//at.alicdn.com/t/font_2246548_zclaqxwmzq8.css"), qt(`.iconfont {
68
69
  font-size: 19px;
69
70
  font-style: normal;
70
71
  -webkit-font-smoothing: antialiased;
@@ -3716,8 +3717,7 @@ function Ao(e, t, l, n, o, a) {
3716
3717
  key: 1,
3717
3718
  ref: "subMenu",
3718
3719
  index: l.to,
3719
- class: H({ "submenu-title-noDropdown": !l.isNest }),
3720
- "popper-append-to-body": ""
3720
+ class: H({ "submenu-title-noDropdown": !l.isNest })
3721
3721
  }, {
3722
3722
  title: r(() => [
3723
3723
  l.item.redirect && l.item.redirect !== "#" ? (i(), f(p, {
@@ -3772,9 +3772,7 @@ const Po = {
3772
3772
  },
3773
3773
  methods: {
3774
3774
  onselected: function(e) {
3775
- this.$router.push(e), this.selected = "", setTimeout(() => {
3776
- $e("is-active");
3777
- }, 100);
3775
+ this.$router.push(e), this.selected = "";
3778
3776
  }
3779
3777
  }
3780
3778
  };
@@ -3820,7 +3818,7 @@ function Lo(e, t, l, n, o, a) {
3820
3818
  _: 1
3821
3819
  }, 8, ["modelValue", "onChange"]);
3822
3820
  }
3823
- const Mo = /* @__PURE__ */ $(Po, [["render", Lo], ["__scopeId", "data-v-33fb5a99"]]);
3821
+ const Mo = /* @__PURE__ */ $(Po, [["render", Lo], ["__scopeId", "data-v-6d6399f4"]]);
3824
3822
  var D = /* @__PURE__ */ ((e) => (e[e.custom = 0] = "custom", e[e.list = 1] = "list", e[e.form = 2] = "form", e[e.customSchema = 3] = "customSchema", e[e.localComp = 4] = "localComp", e[e.tree = 5] = "tree", e[e.report = 6] = "report", e[e.entity = 7] = "entity", e))(D || {}), P = /* @__PURE__ */ ((e) => (e[e.hidden = 0] = "hidden", e[e.dir = 1] = "dir", e[e.menu = 2] = "menu", e[e.page = 3] = "page", e))(P || {});
3825
3823
  const Do = q({
3826
3824
  components: { SidebarItem: Ro, Logo: So, SearchMenu: Mo },
@@ -4214,7 +4212,7 @@ function fa(e) {
4214
4212
  t.matched.length > 0 && E.commit("user/updateState", {
4215
4213
  key: "path",
4216
4214
  value: t.matched[t.matched.length - 1].path.replace("(\\d+)", "")
4217
- }), ke.done();
4215
+ }), ke.done(), $e("is-active");
4218
4216
  });
4219
4217
  }
4220
4218
  function ha() {
@@ -4264,8 +4262,9 @@ const yt = /* @__PURE__ */ $(ya, [["render", wa]]), Sa = {
4264
4262
  default: ""
4265
4263
  },
4266
4264
  notice: {
4267
- type: String,
4268
- default: ""
4265
+ type: Object,
4266
+ default: () => {
4267
+ }
4269
4268
  }
4270
4269
  },
4271
4270
  data() {