@indfnd/common-mobile 0.0.60 → 0.0.63

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/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.63](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.62...v0.0.63) (2024-11-30)
6
+
7
+
8
+ ### Features
9
+
10
+ * 添加单点登录后授权后重定向指定页面功能 ([ab8fff5](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/ab8fff5c234e69e9eacf4d1093e15f3181384710))
11
+
12
+ ### [0.0.62](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.61...v0.0.62) (2024-11-27)
13
+
14
+ ### [0.0.61](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.60...v0.0.61) (2024-11-27)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * 添加山东中烟新协同办公平台移动端单点 ([462faad](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/462faad0712d4f085c1893cb9cc51aa57afd758e))
20
+
5
21
  ### [0.0.60](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.59...v0.0.60) (2024-11-12)
6
22
 
7
23
  ### [0.0.59](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.58...v0.0.59) (2024-11-12)
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
2
2
  import Vue$1 from "vue";
3
3
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
4
4
  const name$1 = "@indfnd/common-mobile";
5
- const version$2 = "0.0.59";
5
+ const version$2 = "0.0.62";
6
6
  const author$1 = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -70541,7 +70541,15 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
70541
70541
  routerOptionsBak
70542
70542
  });
70543
70543
  console.log("router1");
70544
- next2({ ...to, replace: true });
70544
+ const wxState = getQueryVariable("state");
70545
+ let state = {};
70546
+ if (!!wxState && wxState != "null") {
70547
+ state = JSON.parse(decodeURIComponent(wxState));
70548
+ console.log("state", state);
70549
+ next2({ path: state.url, replace: true });
70550
+ } else {
70551
+ next2({ ...to, replace: true });
70552
+ }
70545
70553
  } catch (error) {
70546
70554
  console.log("router2");
70547
70555
  next2({ name: LOGIN_PAGE_NAME });