@indfnd/common-mobile 1.0.89 → 1.0.91

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.
@@ -3,7 +3,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
3
3
  import Vue$1 from "vue";
4
4
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
5
5
  const name$1 = "@indfnd/common-mobile";
6
- const version$2 = "1.0.88";
6
+ const version$2 = "1.0.90";
7
7
  const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
@@ -31809,7 +31809,7 @@ function createMacroBasicRoutes({ homeComponent, rootChildren } = {}) {
31809
31809
  if (rootChildren && rootChildren.length) {
31810
31810
  rootRouteTemp.children.push(...rootChildren);
31811
31811
  }
31812
- let loginRoutes = location.host.includes("localhost") ? [loginRoute] : [];
31812
+ let loginRoutes = location.host.includes("localhost") || location.host == "215.dev.yingxiao.ind.lambo.top" ? [loginRoute] : [];
31813
31813
  return [
31814
31814
  rootRouteTemp,
31815
31815
  ...loginRoutes,
@@ -33599,6 +33599,7 @@ var user = {
33599
33599
  async handleLogin({ dispatch: dispatch2 }, { userName, password, validCodeId, validCodeInput }) {
33600
33600
  const result = await loginApi({ userName, password, validCodeId, validCodeInput });
33601
33601
  dispatch2("loginSuccess", result.token);
33602
+ dispatch2("getUserInfo");
33602
33603
  return result.url;
33603
33604
  },
33604
33605
  loginSuccess({ commit: commit2, dispatch: dispatch2 }, token) {