@indfnd/common-mobile 0.0.113 → 0.0.115
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,21 @@
|
|
|
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.115](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.114...v0.0.115) (2025-11-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 修改 ([a1547e3](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/a1547e33f3dd379dcbc618c58cc5d6ef7eb7a0fc))
|
|
11
|
+
|
|
12
|
+
### [0.0.114](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.113...v0.0.114) (2025-11-10)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 修改 ([f7d6dd0](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/f7d6dd028a25e44cb49d32a9974f847de94a96f8))
|
|
18
|
+
* 修改 ([7a5e087](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/7a5e087c7f4a9d45a2ced98caad04956dee31c5a))
|
|
19
|
+
|
|
5
20
|
### [0.0.113](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.112...v0.0.113) (2025-11-06)
|
|
6
21
|
|
|
7
22
|
|
|
@@ -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.114";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -69170,7 +69170,7 @@ var render$4 = function() {
|
|
|
69170
69170
|
return _c("van-grid-item", { key: idx }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus": "off" }, on: { "touchend": _vm.routeTo } })], 1);
|
|
69171
69171
|
}), 1)], 1), _c("myapp", { attrs: { "icons": _vm.myAppList, "expanded": _vm.disMyapp }, on: { "edit": _vm.edit, "open": _vm.open } }, [_vm.disMyapp ? _c("div", { staticStyle: { "width": "100%", "height": "auto", "background-color": "#fff" } }, [_c("van-swipe", { attrs: { "show-indicators": true, "loop": false, "indicator-color": "#005aaf" } }, _vm._l(_vm.paginatedApps, function(page, pageIdx) {
|
|
69172
69172
|
return _c("van-swipe-item", { key: pageIdx }, [_c("div", { style: { paddingBottom: _vm.paginatedApps.length > 1 ? "20px" : "0" } }, [_c("van-grid", { attrs: { "column-num": 4, "border": false } }, _vm._l(page, function(item2, idx) {
|
|
69173
|
-
return _c("van-grid-item", { key: idx }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus":
|
|
69173
|
+
return _c("van-grid-item", { key: idx }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus": "off" }, on: { "touchend": _vm.routeTo } })], 1);
|
|
69174
69174
|
}), 1)], 1)]);
|
|
69175
69175
|
}), 1)], 1) : _vm._e()]), _c("div", { staticClass: "customnnnmmmm-tabs-container" }, [_c("div", { staticClass: "customnnnmmmm-tabs-header-wrapper" }, [_c("div", { ref: "tabsHeader", staticClass: "customnnnmmmm-tabs-header" }, _vm._l(_vm.apps_menus, function(tab, idx) {
|
|
69176
69176
|
return _c("div", { key: "tab" + idx, staticClass: "customnnnmmmm-tab-item", class: { active: _vm.active === idx }, on: { "click": function($event) {
|
|
@@ -69227,7 +69227,7 @@ const __vue2_script$4 = {
|
|
|
69227
69227
|
},
|
|
69228
69228
|
mounted() {
|
|
69229
69229
|
var _a;
|
|
69230
|
-
this.myAppList = JSON.parse(
|
|
69230
|
+
this.myAppList = JSON.parse(sessionStorage.getItem("myAppsList"));
|
|
69231
69231
|
this.isHb = location.pathname.includes("scyxweb");
|
|
69232
69232
|
let menus = this.$store.getters.getMenuTreeList;
|
|
69233
69233
|
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp") {
|
|
@@ -69498,7 +69498,7 @@ var render$3 = function() {
|
|
|
69498
69498
|
return _c("van-grid-item", { key: idx }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus": "off" }, on: { "touchend": _vm.routeTo } })], 1);
|
|
69499
69499
|
}), 1)], 1), _c("myapp", { attrs: { "icons": _vm.myAppList, "expanded": _vm.disMyapp }, on: { "edit": _vm.edit, "open": _vm.open } }, [_vm.disMyapp ? _c("div", { staticStyle: { "width": "100%", "height": "auto", "background-color": "#fff" } }, [_c("van-swipe", { attrs: { "show-indicators": true, "loop": false, "indicator-color": "#005aaf" } }, _vm._l(_vm.paginatedApps, function(page, pageIdx) {
|
|
69500
69500
|
return _c("van-swipe-item", { key: pageIdx }, [_c("div", { style: { paddingBottom: _vm.paginatedApps.length > 1 ? "20px" : "0" } }, [_c("van-grid", { attrs: { "column-num": 4, "border": false } }, _vm._l(page, function(item2, idx) {
|
|
69501
|
-
return _c("van-grid-item", { key: idx }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus":
|
|
69501
|
+
return _c("van-grid-item", { key: idx }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus": "off" }, on: { "touchend": _vm.routeTo } })], 1);
|
|
69502
69502
|
}), 1)], 1)]);
|
|
69503
69503
|
}), 1)], 1) : _vm._e()]), _c("div", [_c("div", { staticClass: "customnnnmmmm-tabs-header-wrapper" }, [_c("div", { ref: "tabsHeader", staticClass: "customnnnmmmm-tabs-header" }, _vm._l(_vm.apps_menus, function(tab, idx) {
|
|
69504
69504
|
return _c("div", { key: "tab" + idx, staticClass: "customnnnmmmm-tab-item", class: { active: _vm.active === idx }, on: { "click": function($event) {
|
|
@@ -69551,7 +69551,7 @@ const __vue2_script$3 = {
|
|
|
69551
69551
|
},
|
|
69552
69552
|
mounted() {
|
|
69553
69553
|
var _a;
|
|
69554
|
-
this.myAppList = JSON.parse(
|
|
69554
|
+
this.myAppList = JSON.parse(sessionStorage.getItem("myAppsList"));
|
|
69555
69555
|
this.isHb = location.pathname.includes("scyxweb");
|
|
69556
69556
|
let menus = this.$store.getters.getMenuTreeList;
|
|
69557
69557
|
if (((_a = this.$config) == null ? void 0 : _a.mainType) == "singleApp") {
|
|
@@ -71913,7 +71913,7 @@ var app = {
|
|
|
71913
71913
|
getMyAppsList(state) {
|
|
71914
71914
|
let myAppsList = state.myAppsList;
|
|
71915
71915
|
if (!myAppsList.length) {
|
|
71916
|
-
myAppsList =
|
|
71916
|
+
myAppsList = getSessionStorage("myAppsList");
|
|
71917
71917
|
}
|
|
71918
71918
|
return myAppsList || [];
|
|
71919
71919
|
}
|
|
@@ -71945,7 +71945,7 @@ var app = {
|
|
|
71945
71945
|
state.menuTreeList = menuTreeList;
|
|
71946
71946
|
},
|
|
71947
71947
|
setMyAppsList(state, myAppsList) {
|
|
71948
|
-
|
|
71948
|
+
setSessionStorage("myAppsList", myAppsList);
|
|
71949
71949
|
state.myAppsList = myAppsList;
|
|
71950
71950
|
},
|
|
71951
71951
|
setHomeRoute(state, $router) {
|
|
@@ -72131,6 +72131,7 @@ var app = {
|
|
|
72131
72131
|
async getMyAppsList({ commit: commit2 }, payload) {
|
|
72132
72132
|
try {
|
|
72133
72133
|
let { data: data49 } = await getIndexPreset(payload);
|
|
72134
|
+
data49 = data49 || "[]";
|
|
72134
72135
|
commit2("setMyAppsList", data49);
|
|
72135
72136
|
} catch (error) {
|
|
72136
72137
|
console.error("getMyAppsList:", error);
|