@indfnd/common-mobile 1.0.48 → 1.0.49
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 +7 -0
- package/dist/ind-common-mobile.es.js +66 -11
- package/dist/ind-common-mobile.umd.cjs +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.49](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.48...v1.0.49) (2026-03-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 处理系统配置问题 ([8ebccef](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/8ebccef5dc7f987158f05d3ec4fd554e10150227))
|
|
11
|
+
|
|
5
12
|
### [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
13
|
|
|
7
14
|
|
|
@@ -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.48";
|
|
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
|
};
|
|
@@ -31217,9 +31261,20 @@ const __vue2_script = {
|
|
|
31217
31261
|
},
|
|
31218
31262
|
computed: {
|
|
31219
31263
|
getIcon() {
|
|
31220
|
-
var _a
|
|
31264
|
+
var _a;
|
|
31221
31265
|
const dynamicKey = `icon${this.type}`;
|
|
31222
|
-
const
|
|
31266
|
+
const storedValue = localStorage.getItem("systemDefaultConfig");
|
|
31267
|
+
if (!storedValue || typeof storedValue !== "string") {
|
|
31268
|
+
return "";
|
|
31269
|
+
}
|
|
31270
|
+
let systemDefaultConfig;
|
|
31271
|
+
try {
|
|
31272
|
+
systemDefaultConfig = JSON.parse(storedValue);
|
|
31273
|
+
} catch (e) {
|
|
31274
|
+
console.error("\u274C JSON \u89E3\u6790\u5931\u8D25:", e.message);
|
|
31275
|
+
return "";
|
|
31276
|
+
}
|
|
31277
|
+
const configArray = (_a = systemDefaultConfig == null ? void 0 : systemDefaultConfig.systemDefaultConfig) == null ? void 0 : _a[dynamicKey];
|
|
31223
31278
|
try {
|
|
31224
31279
|
if (!Array.isArray(configArray)) {
|
|
31225
31280
|
console.error("\u914D\u7F6E\u4E0D\u662F\u6570\u7EC4:", configArray);
|