@indfnd/common-mobile 0.0.28 → 0.0.29
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 +10 -6
- package/dist/ind-common-mobile.umd.cjs +25 -25
- 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
|
+
### [0.0.29](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.28...v0.0.29) (2024-06-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 移动端会话补偿 ([2f627eb](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/2f627eb7362d45a41bd0b1c3a537fd22e3fd5784))
|
|
11
|
+
|
|
5
12
|
### [0.0.28](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.27...v0.0.28) (2024-06-15)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, getHalfYear, formatDate, useConfig, getL
|
|
|
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.28";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -70164,11 +70164,15 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
|
|
|
70164
70164
|
Debug();
|
|
70165
70165
|
const LOGIN_PAGE_NAME = config.loginRouteName;
|
|
70166
70166
|
const routerOptionsBak = _.cloneDeep(router.options);
|
|
70167
|
-
window.sessionNotValidHandler = function() {
|
|
70168
|
-
if (window.
|
|
70169
|
-
|
|
70170
|
-
|
|
70171
|
-
|
|
70167
|
+
window.sessionNotValidHandler = async function() {
|
|
70168
|
+
if (typeof window.Code != "undefined") {
|
|
70169
|
+
await pluginLogin();
|
|
70170
|
+
} else {
|
|
70171
|
+
if (window.confirm("\u4F1A\u8BDD\u5DF2\u5931\u6548\uFF0C\u662F\u5426\u91CD\u65B0\u767B\u5F55\uFF1F")) {
|
|
70172
|
+
router.push({ name: LOGIN_PAGE_NAME }, () => {
|
|
70173
|
+
window.location.reload();
|
|
70174
|
+
});
|
|
70175
|
+
}
|
|
70172
70176
|
}
|
|
70173
70177
|
};
|
|
70174
70178
|
window.apiErrorHandler = function(msg) {
|