@indfnd/common-mobile 1.0.70 → 1.0.72
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 +10 -0
- package/dist/ind-common-mobile.es.js +17 -17
- package/dist/ind-common-mobile.umd.cjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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.72](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.71...v1.0.72) (2026-03-23)
|
|
6
|
+
|
|
7
|
+
### [1.0.71](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.70...v1.0.71) (2026-03-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* 湖北移动端兼容独立应用的模式 ([06f4198](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/06f4198ff8780cc4dd2125dc501d99e89abe6fbb))
|
|
13
|
+
* 湖北移动端首页bug修复 ([7dd80f1](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/7dd80f10a6ef4a77c9368200dc32f63c78ced6dd))
|
|
14
|
+
|
|
5
15
|
### [1.0.70](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.69...v1.0.70) (2026-03-20)
|
|
6
16
|
|
|
7
17
|
### [1.0.69](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.68...v1.0.69) (2026-03-19)
|
|
@@ -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.
|
|
6
|
+
const version$2 = "1.0.71";
|
|
7
7
|
const author$1 = "huxuetong";
|
|
8
8
|
const publishConfig = {
|
|
9
9
|
registry: "https://registry.npmjs.org/"
|
|
@@ -23541,14 +23541,14 @@ const __vue2_script$o = {
|
|
|
23541
23541
|
};
|
|
23542
23542
|
},
|
|
23543
23543
|
mounted() {
|
|
23544
|
-
var _a, _b;
|
|
23544
|
+
var _a, _b, _c;
|
|
23545
23545
|
let menus = this.$store.getters.getMenuTreeList;
|
|
23546
23546
|
let permissionList = this.$store.state.app.permissionList;
|
|
23547
23547
|
let noShowPermissionIdList = permissionList.filter((item2) => item2.extendProps).map((item2) => ({
|
|
23548
23548
|
key: item2.permissionId,
|
|
23549
23549
|
parseResult: this.tryParseJson(item2.extendProps)
|
|
23550
23550
|
})).filter((item2) => item2.parseResult.success && item2.parseResult.result.hideInAppCenter).map((item2) => item2.key);
|
|
23551
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
23551
|
+
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") {
|
|
23552
23552
|
let mobileMainApp = menus.find(
|
|
23553
23553
|
(item2) => {
|
|
23554
23554
|
var _a2;
|
|
@@ -23717,14 +23717,14 @@ const __vue2_script$n = {
|
|
|
23717
23717
|
},
|
|
23718
23718
|
methods: {
|
|
23719
23719
|
renderTabBar() {
|
|
23720
|
-
var _a, _b;
|
|
23720
|
+
var _a, _b, _c;
|
|
23721
23721
|
let menus = this.$store.getters.getMenuTreeList;
|
|
23722
23722
|
let permissionList = this.$store.state.app.permissionList;
|
|
23723
23723
|
let noShowPermissionIdList = permissionList.filter((item2) => item2.extendProps).map((item2) => ({
|
|
23724
23724
|
key: item2.permissionId,
|
|
23725
23725
|
parseResult: this.tryParseJson(item2.extendProps)
|
|
23726
23726
|
})).filter((item2) => item2.parseResult.success && item2.parseResult.result.hideInAppCenter).map((item2) => item2.key);
|
|
23727
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
23727
|
+
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") {
|
|
23728
23728
|
let mobileMainApp = menus.find(
|
|
23729
23729
|
(item2) => {
|
|
23730
23730
|
var _a2;
|
|
@@ -28674,10 +28674,10 @@ const __vue2_script$g = {
|
|
|
28674
28674
|
this.$store.commit("setMyAppsList", this.my_apps);
|
|
28675
28675
|
},
|
|
28676
28676
|
mounted() {
|
|
28677
|
-
var _a, _b;
|
|
28677
|
+
var _a, _b, _c;
|
|
28678
28678
|
this.my_apps = this.$store.getters.getMyAppsList;
|
|
28679
28679
|
let menus = this.$store.getters.getMenuTreeList;
|
|
28680
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
28680
|
+
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") {
|
|
28681
28681
|
let mobileMainApp = menus.find(
|
|
28682
28682
|
(item2) => {
|
|
28683
28683
|
var _a2;
|
|
@@ -29139,13 +29139,13 @@ const __vue2_script$d = {
|
|
|
29139
29139
|
this.isHb = location.pathname.includes("scyxweb");
|
|
29140
29140
|
let retryCount = 0;
|
|
29141
29141
|
let interval = setInterval(() => {
|
|
29142
|
-
var _a, _b;
|
|
29142
|
+
var _a, _b, _c;
|
|
29143
29143
|
retryCount++;
|
|
29144
29144
|
let menus = this.$store.getters.getMenuTreeList || [];
|
|
29145
29145
|
if (menus && menus.length > 0) {
|
|
29146
29146
|
clearInterval(interval);
|
|
29147
29147
|
console.log(`\u7B2C${retryCount}\u6B21\u5C1D\u8BD5\uFF0C\u6210\u529F\u83B7\u53D6\u5230 menus:`, menus);
|
|
29148
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
29148
|
+
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") {
|
|
29149
29149
|
let mobileMainApp = menus.find(
|
|
29150
29150
|
(item2) => {
|
|
29151
29151
|
var _a2;
|
|
@@ -29515,13 +29515,13 @@ const __vue2_script$c = {
|
|
|
29515
29515
|
this.isHb = location.pathname.includes("scyxweb");
|
|
29516
29516
|
let retryCount = 0;
|
|
29517
29517
|
let interval = setInterval(() => {
|
|
29518
|
-
var _a, _b;
|
|
29518
|
+
var _a, _b, _c;
|
|
29519
29519
|
retryCount++;
|
|
29520
29520
|
let menus = this.$store.getters.getMenuTreeList || [];
|
|
29521
29521
|
if (menus && menus.length > 0) {
|
|
29522
29522
|
clearInterval(interval);
|
|
29523
29523
|
console.log(`\u7B2C${retryCount}\u6B21\u5C1D\u8BD5\uFF0C\u6210\u529F\u83B7\u53D6\u5230 menus:`, menus);
|
|
29524
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
29524
|
+
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") {
|
|
29525
29525
|
let mobileMainApp = menus.find(
|
|
29526
29526
|
(item2) => {
|
|
29527
29527
|
var _a2;
|
|
@@ -29925,13 +29925,13 @@ const __vue2_script$a = {
|
|
|
29925
29925
|
let retryCount = 0;
|
|
29926
29926
|
const MAX_RETRY2 = 50;
|
|
29927
29927
|
let interval = setInterval(() => {
|
|
29928
|
-
var _a, _b;
|
|
29928
|
+
var _a, _b, _c;
|
|
29929
29929
|
retryCount++;
|
|
29930
29930
|
let menus = this.$store.getters.getMenuTreeList || [];
|
|
29931
29931
|
if (menus && menus.length > 0) {
|
|
29932
29932
|
clearInterval(interval);
|
|
29933
29933
|
console.log(`\u7B2C${retryCount}\u6B21\u5C1D\u8BD5\uFF0C\u6210\u529F\u83B7\u53D6\u5230 menus:`, menus);
|
|
29934
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
29934
|
+
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") {
|
|
29935
29935
|
let mobileMainApp = menus.find(
|
|
29936
29936
|
(item2) => {
|
|
29937
29937
|
var _a2;
|
|
@@ -30302,13 +30302,13 @@ const __vue2_script$8 = {
|
|
|
30302
30302
|
let retryCount = 0;
|
|
30303
30303
|
const MAX_RETRY2 = 50;
|
|
30304
30304
|
let interval = setInterval(() => {
|
|
30305
|
-
var _a2, _b;
|
|
30305
|
+
var _a2, _b, _c;
|
|
30306
30306
|
retryCount++;
|
|
30307
30307
|
let menus = this.$store.getters.getMenuTreeList || [];
|
|
30308
30308
|
if (menus && menus.length > 0) {
|
|
30309
30309
|
clearInterval(interval);
|
|
30310
30310
|
console.log(`\u7B2C${retryCount}\u6B21\u5C1D\u8BD5\uFF0C\u6210\u529F\u83B7\u53D6\u5230 menus:`, menus);
|
|
30311
|
-
if (((_a2 = this.$config) == null ? void 0 : _a2.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
30311
|
+
if (((_a2 = this.$config) == null ? void 0 : _a2.mainType) == "singleApp" && ((_c = (_b = this.$config) == null ? void 0 : _b.systemDefaultConfig) == null ? void 0 : _c.isMobileSeparate) != "1") {
|
|
30312
30312
|
let mobileMainApp = menus.find(
|
|
30313
30313
|
(item2) => {
|
|
30314
30314
|
var _a3;
|
|
@@ -30665,13 +30665,13 @@ const __vue2_script$6 = {
|
|
|
30665
30665
|
}
|
|
30666
30666
|
},
|
|
30667
30667
|
created() {
|
|
30668
|
-
var _a, _b;
|
|
30668
|
+
var _a, _b, _c;
|
|
30669
30669
|
this.isHb = location.pathname.includes("scyxweb");
|
|
30670
30670
|
let menus = this.$store.getters.getMenuTreeList || [];
|
|
30671
30671
|
if (!menus.length) {
|
|
30672
30672
|
console.error("getMenuTreeList\u4E3A\u7A7A\uFF0C\u5728apps-center-new\u91CC");
|
|
30673
30673
|
}
|
|
30674
|
-
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp" && ((_b = this.$config) == null ? void 0 : _b.isMobileSeparate) != "1") {
|
|
30674
|
+
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") {
|
|
30675
30675
|
let mobileMainApp = menus.find(
|
|
30676
30676
|
(item2) => {
|
|
30677
30677
|
var _a2;
|