@indfnd/common-mobile 1.0.81 → 1.0.83

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,21 @@
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
+ ### [1.0.83](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.82...v1.0.83) (2026-04-15)
6
+
7
+ ### [1.0.82](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.81...v1.0.82) (2026-04-10)
8
+
9
+
10
+ ### Features
11
+
12
+ * bug修复 ([6fafea8](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/6fafea8253f7a90f20d5cbdc0fa4d19e978cd1ee))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * 处理老应用广场我的应用问题 ([39c5849](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/39c5849e3ffe329a09aca1a56154ec155e154a70))
18
+ * 处理老应用广场我的应用无法编辑问题 ([5da8f9e](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/5da8f9e62db416efae0f13362ba8f972215afda0))
19
+
5
20
  ### [1.0.81](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.80...v1.0.81) (2026-04-09)
6
21
 
7
22
 
@@ -1,9 +1,9 @@
1
1
  import _ from "lodash";
2
- import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios as axios$3, getCaptchaURL, guid, setLocalStorage, clearSessionStorage, cryptor, listComTreeApi, listItemTreeApi, getToken, MIME_TYPE, config as config$1, getSessionStorage, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, setSessionStorage, getAppListApi, getPermissionCache, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, setConfig } from "@indfnd/utils";
2
+ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios as axios$3, getCaptchaURL, guid, setLocalStorage, clearSessionStorage, cryptor, listComTreeApi, listItemTreeApi, getUserInfoApi, getToken, MIME_TYPE, config as config$1, getSessionStorage, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, setUserInfoCache, setSessionStorage, getAppListApi, getPermissionCache, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, setConfig } from "@indfnd/utils";
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.80";
6
+ const version$2 = "1.0.82";
7
7
  const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
@@ -28654,7 +28654,8 @@ const __vue2_script$g = {
28654
28654
  rmFromMyAppsClick: this.routeTo,
28655
28655
  addToMyAppsClick: this.routeTo,
28656
28656
  offsetTop: "246px",
28657
- maxApps: 8
28657
+ maxApps: 8,
28658
+ id: ""
28658
28659
  };
28659
28660
  },
28660
28661
  watch: {
@@ -28686,9 +28687,15 @@ const __vue2_script$g = {
28686
28687
  updated() {
28687
28688
  this.$store.commit("setMyAppsList", this.my_apps);
28688
28689
  },
28689
- mounted() {
28690
+ async mounted() {
28690
28691
  var _a, _b, _c;
28691
- this.my_apps = this.$store.getters.getMyAppsList;
28692
+ const { data: data49 } = await getUserInfoApi();
28693
+ this.id = data49.userId;
28694
+ try {
28695
+ this.my_apps = JSON.parse(this.$store.getters.getMyAppsList || "[]");
28696
+ } catch (e) {
28697
+ this.my_apps = [];
28698
+ }
28692
28699
  let menus = this.$store.getters.getMenuTreeList;
28693
28700
  if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_c = (_b = this.$config) == null ? void 0 : _b.systemDefaultConfig) == null ? void 0 : _c.isMobileSeparate) != "1") {
28694
28701
  let mobileMainApp = menus.find(
@@ -28733,8 +28740,19 @@ const __vue2_script$g = {
28733
28740
  Dialog.confirm({
28734
28741
  title: "\u63D0\u793A",
28735
28742
  message: "\u662F\u5426\u4FDD\u5B58"
28736
- }).then(() => {
28737
- this.$store.commit("setMyAppsList", this.my_apps);
28743
+ }).then(async () => {
28744
+ let saveConfig = {
28745
+ userId: this.id,
28746
+ funId: "store-my-app",
28747
+ cfgData: JSON.stringify(this.my_apps)
28748
+ };
28749
+ await this.$store.dispatch("saveMyAppsList", saveConfig);
28750
+ sessionStorage.setItem("myAppsList", JSON.stringify(this.my_apps));
28751
+ let getConfig = {
28752
+ userId: this.id,
28753
+ funId: "store-my-app"
28754
+ };
28755
+ await this.$store.dispatch("getMyAppsList", getConfig);
28738
28756
  }).catch(() => {
28739
28757
  });
28740
28758
  },
@@ -33902,8 +33920,10 @@ const install = function(Vue2, opts = { theme: "" }) {
33902
33920
  localStorage.setItem("systemDefaultConfig", JSON.stringify(ret));
33903
33921
  console.log("\u9996\u6B21\u5B58\u50A8\u914D\u7F6E");
33904
33922
  }
33905
- if (ret.systemDefaultConfig.changeUI == "1") {
33906
- doChangeTheme(theme + " " + ret.systemDefaultConfig.theme);
33923
+ if (ret.systemDefaultConfig.changeUI == "1" || ret.systemDefaultConfig.inputBorderTheme == "1") {
33924
+ doChangeTheme(
33925
+ theme + (ret.systemDefaultConfig.changeUI == "1" ? " " + ret.systemDefaultConfig.theme : "") + (ret.systemDefaultConfig.inputBorderTheme == "1" ? " ind-input-border-theme" : "")
33926
+ );
33907
33927
  }
33908
33928
  return ret;
33909
33929
  } catch (error) {