@maxtropy/v-components 0.1.5-beta.3 → 0.1.6-beta.0
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/dist/mx-vcomponents.es.js +12 -7
- package/package.json +7 -5
|
@@ -8909,12 +8909,17 @@ async function FI(e, t) {
|
|
|
8909
8909
|
if (r && (s = JSON.parse(r)), o.ok) {
|
|
8910
8910
|
if ((s == null ? void 0 : s.code) === 401) {
|
|
8911
8911
|
const i = new URL(window.location.href);
|
|
8912
|
-
i.searchParams.delete("isvAppToken"), process.env.NODE_ENV === "development" ? pI.confirm(
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8912
|
+
i.searchParams.delete("isvAppToken"), process.env.NODE_ENV === "development" ? pI.confirm(
|
|
8913
|
+
"<div><div>检测到您尚未登录登录,是否跳转到登录页面?</div><div>注意:在租户端登录后请再次打开当前站点</div></div>",
|
|
8914
|
+
"账号登录",
|
|
8915
|
+
{
|
|
8916
|
+
dangerouslyUseHTMLString: !0,
|
|
8917
|
+
confirmButtonText: "确定",
|
|
8918
|
+
cancelButtonText: "取消",
|
|
8919
|
+
type: "warning",
|
|
8920
|
+
appendTo: document.body
|
|
8921
|
+
}
|
|
8922
|
+
).then(() => {
|
|
8918
8923
|
window.location.assign("/server/landing?to=" + encodeURIComponent(i.toString()));
|
|
8919
8924
|
}) : window.location.assign("/server/landing?to=" + encodeURIComponent(i.toString()));
|
|
8920
8925
|
}
|
|
@@ -9067,7 +9072,7 @@ const HI = /* @__PURE__ */ _o(() => new qo(lu));
|
|
|
9067
9072
|
function Hn(e) {
|
|
9068
9073
|
const t = $o();
|
|
9069
9074
|
HI().subscribe((o) => {
|
|
9070
|
-
const r = (o == null ? void 0 : o.customerUrl) || PI.
|
|
9075
|
+
const r = (o == null ? void 0 : o.customerUrl) || PI.test;
|
|
9071
9076
|
t.subscribe((s) => {
|
|
9072
9077
|
s && !(s != null && s.currentStaffId) && window.location.assign(
|
|
9073
9078
|
`${r}/select-staff?redirect=` + encodeURIComponent(window.location.href)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxtropy/v-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-beta.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
"vue-router": ">=4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@commitlint/cli": "^16.3.0",
|
|
39
|
+
"@commitlint/config-conventional": "^16.2.4",
|
|
38
40
|
"@types/node": "^17.0.45",
|
|
39
41
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
40
42
|
"@typescript-eslint/parser": "^5.59.5",
|
|
@@ -61,10 +63,10 @@
|
|
|
61
63
|
},
|
|
62
64
|
"dependencies": {
|
|
63
65
|
"@types/lodash-es": "^4.17.7",
|
|
64
|
-
"element-plus": "
|
|
65
|
-
"lodash-es": "
|
|
66
|
+
"element-plus": ">=2.3.4",
|
|
67
|
+
"lodash-es": ">=4",
|
|
66
68
|
"rxjs": ">=7.8.0",
|
|
67
|
-
"vue": ">=3.2.
|
|
68
|
-
"vue-router": "
|
|
69
|
+
"vue": ">=3.2.0",
|
|
70
|
+
"vue-router": ">=4"
|
|
69
71
|
}
|
|
70
72
|
}
|