@indfnd/common-mobile 0.0.94 → 0.0.95
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,14 @@
|
|
|
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.95](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.94...v0.0.95) (2025-09-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 修改 ([de9abe1](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/de9abe1bf0344fd46446d3b88f51b1336dbeb173))
|
|
11
|
+
* 修改 ([630cc0a](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/630cc0ab9561564f5e9ec294fd301b5a16e4ac7c))
|
|
12
|
+
|
|
5
13
|
### [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
14
|
|
|
7
15
|
|
|
@@ -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.94";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -68946,6 +68946,7 @@ const __vue2_script$2 = {
|
|
|
68946
68946
|
name: "IndMApps",
|
|
68947
68947
|
data() {
|
|
68948
68948
|
return {
|
|
68949
|
+
isHb: false,
|
|
68949
68950
|
show: false,
|
|
68950
68951
|
currentEditStatus: "off",
|
|
68951
68952
|
searchValue: "",
|
|
@@ -68961,7 +68962,8 @@ const __vue2_script$2 = {
|
|
|
68961
68962
|
addToMyAppsClick: this.routeTo,
|
|
68962
68963
|
offsetTop: "246px",
|
|
68963
68964
|
maxApps: 8,
|
|
68964
|
-
searchApp: []
|
|
68965
|
+
searchApp: [],
|
|
68966
|
+
tabActiveKeys: {}
|
|
68965
68967
|
};
|
|
68966
68968
|
},
|
|
68967
68969
|
watch: {
|
|
@@ -68989,6 +68991,16 @@ const __vue2_script$2 = {
|
|
|
68989
68991
|
var _a;
|
|
68990
68992
|
this.offsetTop = ((_a = this.$refs.myapp) == null ? void 0 : _a.clientHeight) + 48 || 246;
|
|
68991
68993
|
}, 200);
|
|
68994
|
+
},
|
|
68995
|
+
active(newVal, oldVal) {
|
|
68996
|
+
this.$set(this.tabActiveKeys, oldVal, this.activeKey);
|
|
68997
|
+
this.activeKey = this.tabActiveKeys[newVal] || 0;
|
|
68998
|
+
this.$nextTick(() => {
|
|
68999
|
+
const scrollContainer = Array.isArray(this.$refs.scrollContainer) ? this.$refs.scrollContainer[0] : this.$refs.scrollContainer;
|
|
69000
|
+
if (scrollContainer) {
|
|
69001
|
+
scrollContainer.scrollTop = 0;
|
|
69002
|
+
}
|
|
69003
|
+
});
|
|
68992
69004
|
}
|
|
68993
69005
|
},
|
|
68994
69006
|
updated() {
|
|
@@ -68996,6 +69008,7 @@ const __vue2_script$2 = {
|
|
|
68996
69008
|
},
|
|
68997
69009
|
mounted() {
|
|
68998
69010
|
var _a;
|
|
69011
|
+
this.isHb = location.pathname.includes("scyxweb");
|
|
68999
69012
|
this.$nextTick(() => {
|
|
69000
69013
|
console.log(this.$refs.scrollContainer);
|
|
69001
69014
|
});
|
|
@@ -69015,6 +69028,10 @@ const __vue2_script$2 = {
|
|
|
69015
69028
|
this.title = temps[0].meta.title;
|
|
69016
69029
|
this.processState(this.my_apps, temps);
|
|
69017
69030
|
this.appsMenusExtended(this.apps_menus);
|
|
69031
|
+
this.tabActiveKeys = {};
|
|
69032
|
+
this.apps_menus.forEach((_2, index2) => {
|
|
69033
|
+
this.$set(this.tabActiveKeys, index2, 0);
|
|
69034
|
+
});
|
|
69018
69035
|
setTimeout(() => {
|
|
69019
69036
|
var _a2;
|
|
69020
69037
|
this.offsetTop = ((_a2 = this.$refs.myapp) == null ? void 0 : _a2.clientHeight) + 58 || 256;
|
|
@@ -69136,7 +69153,7 @@ const __vue2_script$2 = {
|
|
|
69136
69153
|
nodes.forEach((node) => {
|
|
69137
69154
|
if (!node)
|
|
69138
69155
|
return;
|
|
69139
|
-
if (node.type === 2) {
|
|
69156
|
+
if (node.type === 2 && this.isHb) {
|
|
69140
69157
|
this.completeNode(node);
|
|
69141
69158
|
}
|
|
69142
69159
|
if (node.children && node.children.length > 0) {
|
|
@@ -69261,7 +69278,7 @@ const __vue2_script$1 = {
|
|
|
69261
69278
|
loadingImageUrl(isGlobal) {
|
|
69262
69279
|
const configPath = isGlobal ? "systemDefaultConfig.globalLoading" : "systemDefaultConfig.localLoading";
|
|
69263
69280
|
const fileId = this.getSafeConfigValue(configPath);
|
|
69264
|
-
if (fileId) {
|
|
69281
|
+
if (fileId && fileId.trim() !== "") {
|
|
69265
69282
|
return `/user-manage-server/oss/file/get/${fileId}`;
|
|
69266
69283
|
}
|
|
69267
69284
|
return isGlobal ? this.defaultGlobal : this.defaultLocal;
|