@indfnd/common-mobile 0.0.93 → 0.0.94
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,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
|
+
### [0.0.94](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.93...v0.0.94) (2025-09-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 修改 ([4bc81a7](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/4bc81a798e4bd734945ea35e096cbdad21188f1b))
|
|
11
|
+
|
|
5
12
|
### [0.0.93](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.92...v0.0.93) (2025-09-08)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
|
|
|
2
2
|
import Vue$1 from "vue";
|
|
3
3
|
import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
|
|
4
4
|
const name$1 = "@indfnd/common-mobile";
|
|
5
|
-
const version$2 = "0.0.
|
|
5
|
+
const version$2 = "0.0.93";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -69239,7 +69239,7 @@ var render$1 = function() {
|
|
|
69239
69239
|
var _c = _vm._self._c || _h;
|
|
69240
69240
|
return _c("div", { staticClass: "custom-overlay", class: { show: _vm.loading }, on: { "click": function($event) {
|
|
69241
69241
|
$event.stopPropagation();
|
|
69242
|
-
} } }, [_vm.isFullScreenLoading ? _c("div", { staticClass: "ind-loading-wrapper-global" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%" }, attrs: { "src": _vm.
|
|
69242
|
+
} } }, [_vm.isFullScreenLoading ? _c("div", { staticClass: "ind-loading-wrapper-global" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%" }, attrs: { "src": _vm.loadingImageUrl(true), "alt": "" } }), _c("div", { staticClass: "ind-loading-wrapper-text" }, [_vm._v(" " + _vm._s(_vm.text || "\u7CFB\u7EDF\u52A0\u8F7D\u4E2D...") + " ")])]) : _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("img", { attrs: { "src": _vm.loadingImageUrl(false), "alt": "" } }), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])])]);
|
|
69243
69243
|
};
|
|
69244
69244
|
var staticRenderFns$1 = [];
|
|
69245
69245
|
const __vue2_script$1 = {
|
|
@@ -69258,11 +69258,20 @@ const __vue2_script$1 = {
|
|
|
69258
69258
|
};
|
|
69259
69259
|
},
|
|
69260
69260
|
methods: {
|
|
69261
|
-
|
|
69262
|
-
|
|
69261
|
+
loadingImageUrl(isGlobal) {
|
|
69262
|
+
const configPath = isGlobal ? "systemDefaultConfig.globalLoading" : "systemDefaultConfig.localLoading";
|
|
69263
|
+
const fileId = this.getSafeConfigValue(configPath);
|
|
69264
|
+
if (fileId) {
|
|
69263
69265
|
return `/user-manage-server/oss/file/get/${fileId}`;
|
|
69264
69266
|
}
|
|
69265
|
-
return
|
|
69267
|
+
return isGlobal ? this.defaultGlobal : this.defaultLocal;
|
|
69268
|
+
},
|
|
69269
|
+
getSafeConfigValue(path2) {
|
|
69270
|
+
if (!this.$config)
|
|
69271
|
+
return void 0;
|
|
69272
|
+
return path2.split(".").reduce((obj, key) => {
|
|
69273
|
+
return obj && obj[key] !== void 0 ? obj[key] : void 0;
|
|
69274
|
+
}, this.$config);
|
|
69266
69275
|
}
|
|
69267
69276
|
}
|
|
69268
69277
|
};
|