@indfnd/common-mobile 1.0.48 → 1.0.50
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 +14 -0
- package/dist/ind-common-mobile.es.js +79 -13
- package/dist/ind-common-mobile.umd.cjs +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.50](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.49...v1.0.50) (2026-03-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 处理应用广场加载问题 ([cd77e12](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/cd77e1282b1f1f1d48f582ae99a8834f119db77d))
|
|
11
|
+
|
|
12
|
+
### [1.0.49](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.48...v1.0.49) (2026-03-02)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 处理系统配置问题 ([8ebccef](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/8ebccef5dc7f987158f05d3ec4fd554e10150227))
|
|
18
|
+
|
|
5
19
|
### [1.0.48](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.47...v1.0.48) (2026-03-02)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -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 = "@indfnd/common-mobile";
|
|
6
|
-
const version$1 = "1.0.
|
|
6
|
+
const version$1 = "1.0.49";
|
|
7
7
|
const author = "huxuetong";
|
|
8
8
|
const publishConfig = {
|
|
9
9
|
registry: "https://registry.npmjs.org/"
|
|
@@ -23756,8 +23756,19 @@ const __vue2_script$m = {
|
|
|
23756
23756
|
},
|
|
23757
23757
|
computed: {
|
|
23758
23758
|
changeUI() {
|
|
23759
|
-
var _a
|
|
23760
|
-
|
|
23759
|
+
var _a;
|
|
23760
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
23761
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
23762
|
+
return "0";
|
|
23763
|
+
}
|
|
23764
|
+
let systemDefaultConfig;
|
|
23765
|
+
try {
|
|
23766
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
23767
|
+
} catch (e) {
|
|
23768
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
23769
|
+
return "0";
|
|
23770
|
+
}
|
|
23771
|
+
return ((_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a.changeUI) || "0";
|
|
23761
23772
|
}
|
|
23762
23773
|
}
|
|
23763
23774
|
};
|
|
@@ -23874,8 +23885,19 @@ const __vue2_script$j = {
|
|
|
23874
23885
|
},
|
|
23875
23886
|
computed: {
|
|
23876
23887
|
changeUI() {
|
|
23877
|
-
var _a
|
|
23878
|
-
|
|
23888
|
+
var _a;
|
|
23889
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
23890
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
23891
|
+
return "0";
|
|
23892
|
+
}
|
|
23893
|
+
let systemDefaultConfig;
|
|
23894
|
+
try {
|
|
23895
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
23896
|
+
} catch (e) {
|
|
23897
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
23898
|
+
return "0";
|
|
23899
|
+
}
|
|
23900
|
+
return ((_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a.changeUI) || "0";
|
|
23879
23901
|
}
|
|
23880
23902
|
}
|
|
23881
23903
|
};
|
|
@@ -29688,8 +29710,19 @@ const __vue2_script$b = {
|
|
|
29688
29710
|
},
|
|
29689
29711
|
computed: {
|
|
29690
29712
|
changeUI() {
|
|
29691
|
-
var _a
|
|
29692
|
-
|
|
29713
|
+
var _a;
|
|
29714
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
29715
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
29716
|
+
return "0";
|
|
29717
|
+
}
|
|
29718
|
+
let systemDefaultConfig;
|
|
29719
|
+
try {
|
|
29720
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
29721
|
+
} catch (e) {
|
|
29722
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
29723
|
+
return "0";
|
|
29724
|
+
}
|
|
29725
|
+
return ((_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a.changeUI) || "0";
|
|
29693
29726
|
}
|
|
29694
29727
|
}
|
|
29695
29728
|
};
|
|
@@ -30350,8 +30383,19 @@ const __vue2_script$7 = {
|
|
|
30350
30383
|
},
|
|
30351
30384
|
computed: {
|
|
30352
30385
|
changeUI() {
|
|
30353
|
-
var _a
|
|
30354
|
-
|
|
30386
|
+
var _a;
|
|
30387
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
30388
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
30389
|
+
return "0";
|
|
30390
|
+
}
|
|
30391
|
+
let systemDefaultConfig;
|
|
30392
|
+
try {
|
|
30393
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
30394
|
+
} catch (e) {
|
|
30395
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
30396
|
+
return "0";
|
|
30397
|
+
}
|
|
30398
|
+
return ((_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a.changeUI) || "0";
|
|
30355
30399
|
}
|
|
30356
30400
|
}
|
|
30357
30401
|
};
|
|
@@ -30461,8 +30505,19 @@ const __vue2_script$6 = {
|
|
|
30461
30505
|
},
|
|
30462
30506
|
computed: {
|
|
30463
30507
|
currentComponent() {
|
|
30464
|
-
var _a
|
|
30465
|
-
|
|
30508
|
+
var _a;
|
|
30509
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
30510
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
30511
|
+
return "{}";
|
|
30512
|
+
}
|
|
30513
|
+
let systemDefaultConfig;
|
|
30514
|
+
try {
|
|
30515
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
30516
|
+
} catch (e) {
|
|
30517
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
30518
|
+
return "{}";
|
|
30519
|
+
}
|
|
30520
|
+
this.level = ((_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a.theLevel) || 3;
|
|
30466
30521
|
this.depth = this.depth || 4;
|
|
30467
30522
|
if (this.level == 2 && this.depth >= 2) {
|
|
30468
30523
|
return "leveltwo";
|
|
@@ -31217,9 +31272,20 @@ const __vue2_script = {
|
|
|
31217
31272
|
},
|
|
31218
31273
|
computed: {
|
|
31219
31274
|
getIcon() {
|
|
31220
|
-
var _a
|
|
31275
|
+
var _a;
|
|
31221
31276
|
const dynamicKey = `icon${this.type}`;
|
|
31222
|
-
const
|
|
31277
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
31278
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
31279
|
+
return "";
|
|
31280
|
+
}
|
|
31281
|
+
let systemDefaultConfig;
|
|
31282
|
+
try {
|
|
31283
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
31284
|
+
} catch (e) {
|
|
31285
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
31286
|
+
return "";
|
|
31287
|
+
}
|
|
31288
|
+
const configArray = (_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a[dynamicKey];
|
|
31223
31289
|
try {
|
|
31224
31290
|
if (!Array.isArray(configArray)) {
|
|
31225
31291
|
console.error("\u914D\u7F6E\u4E0D\u662F\u6570\u7EC4:", configArray);
|