@indfnd/common-mobile 0.0.60 → 0.0.62
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 +9 -0
- package/dist/ind-common-mobile.es.js +6 -2
- package/dist/ind-common-mobile.umd.cjs +31 -31
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.62](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.61...v0.0.62) (2024-11-27)
|
|
6
|
+
|
|
7
|
+
### [0.0.61](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.60...v0.0.61) (2024-11-27)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* 添加山东中烟新协同办公平台移动端单点 ([462faad](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/462faad0712d4f085c1893cb9cc51aa57afd758e))
|
|
13
|
+
|
|
5
14
|
### [0.0.60](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.59...v0.0.60) (2024-11-12)
|
|
6
15
|
|
|
7
16
|
### [0.0.59](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.58...v0.0.59) (2024-11-12)
|
|
@@ -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.61";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -70453,8 +70453,11 @@ const Cookie = {
|
|
|
70453
70453
|
};
|
|
70454
70454
|
async function renderRoutes({ router, store: store2, microType, allowPermissionList, routerOptionsBak }) {
|
|
70455
70455
|
await store2.dispatch("getUserInfo");
|
|
70456
|
+
console.log("getUserInfo success");
|
|
70456
70457
|
await store2.dispatch("getAppListData");
|
|
70458
|
+
console.log("getAppListData success");
|
|
70457
70459
|
const permissionData = await store2.dispatch("getPermissionData");
|
|
70460
|
+
console.log("getPermissionData success", permissionData);
|
|
70458
70461
|
const sessionVersion = JSON.parse(getSessionStorage("appInfo").extendProps.extendProps);
|
|
70459
70462
|
const localVersion = getLocalStorage("versionInfo");
|
|
70460
70463
|
if (localVersion) {
|
|
@@ -70530,6 +70533,7 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
|
|
|
70530
70533
|
console.log("typeof window.Code", typeof window.Code);
|
|
70531
70534
|
async function _renderRoutes() {
|
|
70532
70535
|
var _a, _b, _c;
|
|
70536
|
+
console.log("store.state.user.userName", store2.state.user.userName);
|
|
70533
70537
|
if (!store2.state.user.userName) {
|
|
70534
70538
|
Spin.show();
|
|
70535
70539
|
try {
|
|
@@ -70543,7 +70547,7 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
|
|
|
70543
70547
|
console.log("router1");
|
|
70544
70548
|
next2({ ...to, replace: true });
|
|
70545
70549
|
} catch (error) {
|
|
70546
|
-
console.log("router2");
|
|
70550
|
+
console.log("router2", error);
|
|
70547
70551
|
next2({ name: LOGIN_PAGE_NAME });
|
|
70548
70552
|
}
|
|
70549
70553
|
Spin.hide();
|