@indfnd/common-mobile 1.0.46 → 1.0.48
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 +16 -0
- package/dist/ind-common-mobile.es.js +17 -5
- package/dist/ind-common-mobile.umd.cjs +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
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.48](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.47...v1.0.48) (2026-03-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 配置存入缓存 ([208fb40](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/208fb40d1923b511cfb89ecdc87bb5a71f43744d))
|
|
11
|
+
* 配置存入缓存 ([0e7e734](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/0e7e734429102e71589481bcb49b7784240d6f12))
|
|
12
|
+
* 配置存入缓存 ([8637cbe](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/8637cbe1ee35a1666288e095261494476f7df565))
|
|
13
|
+
|
|
14
|
+
### [1.0.47](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.46...v1.0.47) (2026-03-02)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* 测试 ([6f2564d](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/6f2564dc7684ca759c683f4eac962c14636fc9ec))
|
|
20
|
+
|
|
5
21
|
### [1.0.46](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.45...v1.0.46) (2026-03-02)
|
|
6
22
|
|
|
7
23
|
|
|
@@ -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.47";
|
|
7
7
|
const author = "huxuetong";
|
|
8
8
|
const publishConfig = {
|
|
9
9
|
registry: "https://registry.npmjs.org/"
|
|
@@ -33517,11 +33517,23 @@ const install = function(Vue2, opts = { theme: "" }) {
|
|
|
33517
33517
|
ret.systemDefaultConfig = { ...ret.systemDefaultConfig, ...temp };
|
|
33518
33518
|
}
|
|
33519
33519
|
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, ret);
|
|
33520
|
-
|
|
33521
|
-
|
|
33522
|
-
|
|
33520
|
+
const savedConfig = localStorage.getItem("systemDefaultConfig");
|
|
33521
|
+
if (savedConfig) {
|
|
33522
|
+
const parsedConfig = JSON.parse(savedConfig);
|
|
33523
|
+
if (!_.isEqual(parsedConfig, ret)) {
|
|
33524
|
+
localStorage.removeItem("systemDefaultConfig");
|
|
33525
|
+
localStorage.setItem("systemDefaultConfig", JSON.stringify(ret));
|
|
33526
|
+
console.log("\u914D\u7F6E\u4E0D\u540C\uFF0C\u5DF2\u66F4\u65B0");
|
|
33527
|
+
} else {
|
|
33528
|
+
console.log("\u914D\u7F6E\u76F8\u540C\uFF0C\u65E0\u9700\u66F4\u65B0");
|
|
33523
33529
|
}
|
|
33524
|
-
}
|
|
33530
|
+
} else {
|
|
33531
|
+
localStorage.setItem("systemDefaultConfig", JSON.stringify(ret));
|
|
33532
|
+
console.log("\u9996\u6B21\u5B58\u50A8\u914D\u7F6E");
|
|
33533
|
+
}
|
|
33534
|
+
if (ret.systemDefaultConfig.changeUI == "1") {
|
|
33535
|
+
doChangeTheme(theme + " " + ret.systemDefaultConfig.theme);
|
|
33536
|
+
}
|
|
33525
33537
|
return ret;
|
|
33526
33538
|
} catch (error) {
|
|
33527
33539
|
console.error("\u89E3\u6790 settingInfo \u5931\u8D25:", error);
|