@indfnd/common-mobile 0.0.59 → 0.0.60
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 +2 -0
- package/dist/ind-common-mobile.es.js +4 -2
- package/dist/ind-common-mobile.umd.cjs +13 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.60](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.59...v0.0.60) (2024-11-12)
|
|
6
|
+
|
|
5
7
|
### [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)
|
|
6
8
|
|
|
7
9
|
|
|
@@ -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.59";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -70563,7 +70563,8 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
|
|
|
70563
70563
|
}
|
|
70564
70564
|
}
|
|
70565
70565
|
}
|
|
70566
|
-
|
|
70566
|
+
const code2 = getQueryVariable("code");
|
|
70567
|
+
if (typeof window.Code != "undefined" || code2) {
|
|
70567
70568
|
if (!token) {
|
|
70568
70569
|
token = await pluginLogin(store2);
|
|
70569
70570
|
store2.dispatch("loginSuccess", token);
|
|
@@ -70609,6 +70610,7 @@ const pluginLogin = (store2) => {
|
|
|
70609
70610
|
store2.commit("setUserName", "");
|
|
70610
70611
|
store2.commit("setToken", "");
|
|
70611
70612
|
return new Promise((resolve, reject) => {
|
|
70613
|
+
console.log("1111`111");
|
|
70612
70614
|
const code2 = getQueryVariable("code");
|
|
70613
70615
|
if (code2) {
|
|
70614
70616
|
axios$3.get("/ind-uc-ext-server/sso/xtbg/auth/appLogin?code=" + code2).then(async (resp) => {
|