@indfnd/common-mobile 0.0.78 → 0.0.80

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,25 @@
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.80](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.79...v0.0.80) (2025-08-05)
6
+
7
+
8
+ ### Features
9
+
10
+ * 修复写死上下文的地方 ([b32fe05](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/b32fe05118c0b6f055bd4cab9a233356a939ba0f))
11
+
12
+ ### [0.0.79](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.78...v0.0.79) (2025-07-29)
13
+
14
+
15
+ ### Features
16
+
17
+ * 异常兼容 ([49f98c9](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/49f98c95d8ccce3ff5af906012cf81bf05769c23))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * 修改返回按钮样式 ([b034be3](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/b034be330d46dfc476e29affc9bc144f03c85744))
23
+
5
24
  ### [0.0.78](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.77...v0.0.78) (2025-07-15)
6
25
 
7
26
  ### [0.0.77](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.76...v0.0.77) (2025-07-15)
@@ -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.77";
5
+ const version$2 = "0.0.79";
6
6
  const author$1 = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -63885,7 +63885,7 @@ const __vue2_script$8 = {
63885
63885
  var _a2;
63886
63886
  return ((_a2 = JSON.parse(item2.extendProps)) == null ? void 0 : _a2.mainMobile) == "1";
63887
63887
  });
63888
- menus = mobileMainApp.children;
63888
+ menus = (mobileMainApp == null ? void 0 : mobileMainApp.children) || [];
63889
63889
  }
63890
63890
  let temps = menus.filter(
63891
63891
  (item2) => item2.meta.appId === this.$store.state.app.appInfo.appId && !noShowPermissionIdList.includes(item2.meta.permissionId)
@@ -70828,10 +70828,11 @@ const Cookie = {
70828
70828
  }
70829
70829
  };
70830
70830
  async function renderRoutes({ router, store: store2, microType, allowPermissionList, routerOptionsBak }) {
70831
+ var _a, _b;
70831
70832
  await store2.dispatch("getUserInfo");
70832
70833
  await store2.dispatch("getAppListData");
70833
70834
  const permissionData = await store2.dispatch("getPermissionData");
70834
- const sessionVersion = JSON.parse(getSessionStorage("appInfo").extendProps.extendProps);
70835
+ const sessionVersion = JSON.parse(((_b = (_a = getSessionStorage("appInfo")) == null ? void 0 : _a.extendProps) == null ? void 0 : _b.extendProps) || "{}");
70835
70836
  const localVersion = getLocalStorage("versionInfo");
70836
70837
  if (localVersion) {
70837
70838
  if (sessionVersion.appVersion > localVersion.appVersion) {
@@ -70997,7 +70998,7 @@ const pluginLogin = (store2) => {
70997
70998
  store2.commit("setToken", "");
70998
70999
  if (isHb) {
70999
71000
  return new Promise((resolve, reject) => {
71000
- let url = "https://weixintest.hbtobacco.cn/scyxgateway/ind-uc-ext-server/sso/hb/ssoHbWxLogin";
71001
+ let url = location.protocol + "//" + location.host + "/scyxgateway/ind-uc-ext-server/sso/hb/ssoHbWxLogin";
71001
71002
  axios$3.get(url).then(async (resp) => {
71002
71003
  setToken(resp.token);
71003
71004
  resolve(resp.token);
@@ -71070,6 +71071,9 @@ window.getQueryVariable = function getQueryVariable2(variable) {
71070
71071
  };
71071
71072
  const checkLogin = async () => {
71072
71073
  var _a;
71074
+ if (localStorage.getItem("whoisyourdaddy") == "1") {
71075
+ return Promise.resolve(true);
71076
+ }
71073
71077
  try {
71074
71078
  let token = getToken();
71075
71079
  const resp = await axios.get(`${config.authServerContext}/manage/user/getCurrentInfo`, {