@indfnd/common-mobile 1.0.91 → 1.0.94

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.90";
6
+ const version$2 = "1.0.93";
7
7
  const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
@@ -33332,7 +33332,7 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
33332
33332
  next2({ ...to, replace: true });
33333
33333
  }
33334
33334
  } catch (error) {
33335
- console.log("router2");
33335
+ console.log("router2", error);
33336
33336
  next2({ name: LOGIN_PAGE_NAME });
33337
33337
  }
33338
33338
  Spin.hide();
@@ -33817,7 +33817,10 @@ var app = {
33817
33817
  let appList = getters.getAppList;
33818
33818
  if (!appList.length) {
33819
33819
  const { data: data49 = [] } = await getAppListApi();
33820
- appList = data49.filter((app2) => app2.basepath !== "/cmsadmin");
33820
+ if (!data49) {
33821
+ data49 = [];
33822
+ }
33823
+ appList = data49.filter((app2) => app2.basepath !== "/cmsadmin") || [];
33821
33824
  commit2("setAppList", appList);
33822
33825
  }
33823
33826
  let appId = "";
@@ -33847,7 +33850,7 @@ var app = {
33847
33850
  var _a, _b;
33848
33851
  return ((_b = (_a = item2.application) == null ? void 0 : _a.extendProps) == null ? void 0 : _b.is_mobile_app) == "1";
33849
33852
  });
33850
- appId = appInfo.appId || "";
33853
+ appId = (appInfo == null ? void 0 : appInfo.appId) || "";
33851
33854
  }
33852
33855
  commit2("setAppInfo", appId);
33853
33856
  return appList;