lw-cdp-ui 1.2.64 → 1.2.66

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.
@@ -365,18 +365,13 @@ export default {
365
365
  }
366
366
  let isMenuIsCollapse = this.$tool.data.get("APP_menuIsCollapse")
367
367
  this.$store.state.global.menuIsCollapse = !!isMenuIsCollapse
368
-
369
- // 标志当前应用
370
- this.$tool.data.set("CURRENTNMAE", this.$config.APP_NAME);
371
368
  },
372
369
  async created() {
373
370
  this.onLayoutResize();
374
371
  window.addEventListener('resize', this.onLayoutResize);
375
372
  this.getUserInfo();
376
- if (!this.changeMenu) {
377
- var menu = this.$router.sc_getMenu();
378
- this.menu = this.filterUrl(menu);
379
- }
373
+ var menu = this.$router.sc_getMenu();
374
+ this.menu = this.filterUrl(menu);
380
375
  this.showThis()
381
376
  this.$store.commit("LOAD_USER_FROM_LOCAL_STORAGE")
382
377
  },
@@ -414,6 +409,7 @@ export default {
414
409
  let userAuthInfo = {
415
410
  ...user.userAuthInfo,
416
411
  combined: user.combined,
412
+ loginPage: user.loginPage,
417
413
  menuContent: user.menuContent,
418
414
  }
419
415
  this.$tool.data.set('tenantId', user.userAuthInfo.tenantId)
@@ -357,6 +357,7 @@ export default {
357
357
  let userAuthInfo = {
358
358
  ...user.userAuthInfo,
359
359
  combined: user.combined,
360
+ loginPage: user.loginPage,
360
361
  menuContent: user.menuContent,
361
362
  }
362
363
  this.$tool.data.set('tenantId', user.userAuthInfo.tenantId)
@@ -3074,14 +3074,12 @@ const D8 = /* @__PURE__ */ ue(V8, [["render", R8], ["__scopeId", "data-v-91dc7bb
3074
3074
  this.changeMenu = !0, this.menu = this.filterUrl(t);
3075
3075
  }), this.$tool.data.get("APP_LAYOUTTAGS") && (this.$store.state.global.layoutTags = !1);
3076
3076
  let n = this.$tool.data.get("APP_menuIsCollapse");
3077
- this.$store.state.global.menuIsCollapse = !!n, this.$tool.data.set("CURRENTNMAE", this.$config.APP_NAME);
3077
+ this.$store.state.global.menuIsCollapse = !!n;
3078
3078
  },
3079
3079
  async created() {
3080
- if (this.onLayoutResize(), window.addEventListener("resize", this.onLayoutResize), this.getUserInfo(), !this.changeMenu) {
3081
- var e = this.$router.sc_getMenu();
3082
- this.menu = this.filterUrl(e);
3083
- }
3084
- this.showThis(), this.$store.commit("LOAD_USER_FROM_LOCAL_STORAGE");
3080
+ this.onLayoutResize(), window.addEventListener("resize", this.onLayoutResize), this.getUserInfo();
3081
+ var e = this.$router.sc_getMenu();
3082
+ this.menu = this.filterUrl(e), this.showThis(), this.$store.commit("LOAD_USER_FROM_LOCAL_STORAGE");
3085
3083
  },
3086
3084
  watch: {
3087
3085
  async $route() {
@@ -3108,6 +3106,7 @@ const D8 = /* @__PURE__ */ ue(V8, [["render", R8], ["__scopeId", "data-v-91dc7bb
3108
3106
  let r = {
3109
3107
  ...n.userAuthInfo,
3110
3108
  combined: n.combined,
3109
+ loginPage: n.loginPage,
3111
3110
  menuContent: n.menuContent
3112
3111
  };
3113
3112
  this.$tool.data.set("tenantId", n.userAuthInfo.tenantId), this.$tool.data.set("userAuthInfo", r), this.$tool.data.set("MenuPath", n.userAuthInfo.grantedApplications), this.$store.state.user = r;
@@ -5336,6 +5335,7 @@ const I6 = /* @__PURE__ */ a5(_6), k6 = "data:image/svg+xml,%3c?xml%20version='1
5336
5335
  let u = {
5337
5336
  ...l.userAuthInfo,
5338
5337
  combined: l.combined,
5338
+ loginPage: l.loginPage,
5339
5339
  menuContent: l.menuContent
5340
5340
  };
5341
5341
  if (this.$tool.data.set("tenantId", l.userAuthInfo.tenantId), this.$tool.data.set("userAuthInfo", u), this.$tool.data.set("MenuPath", l.userAuthInfo.grantedApplications), this.$store.state.user = u, sessionStorage.setItem("easyweb_session_passport_current_user", JSON.stringify({ v: l })), sessionStorage.setItem("easyweb_session_passport_bu", JSON.stringify({ v: r[0] })), sessionStorage.setItem("easyweb_session_passport_bu_list", JSON.stringify({ v: r })), document.cookie = `Authorization=Bearer ${t}`, this.isInitialized) {
@@ -5636,7 +5636,7 @@ function N6(e, n, t, r, a, o) {
5636
5636
  ])
5637
5637
  ]);
5638
5638
  }
5639
- const U6 = /* @__PURE__ */ ue(L6, [["render", N6], ["__scopeId", "data-v-f0aa3ad6"]]), j6 = { class: "svg-icon" }, G6 = ["xlink:href"], z6 = {
5639
+ const U6 = /* @__PURE__ */ ue(L6, [["render", N6], ["__scopeId", "data-v-b5bb1e6c"]]), j6 = { class: "svg-icon" }, G6 = ["xlink:href"], z6 = {
5640
5640
  __name: "index",
5641
5641
  props: {
5642
5642
  name: {