@uxda/appkit 1.2.48 → 1.2.52
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/index.js
CHANGED
|
@@ -3488,7 +3488,7 @@ function useHttp() {
|
|
|
3488
3488
|
return false;
|
|
3489
3489
|
},
|
|
3490
3490
|
(raw) => {
|
|
3491
|
-
if (raw.status > 500 && raw.status != 51014) {
|
|
3491
|
+
if (raw.status > 500 && raw.status != 51015 && raw.status != 51014) {
|
|
3492
3492
|
return true;
|
|
3493
3493
|
}
|
|
3494
3494
|
return false;
|
|
@@ -3823,11 +3823,16 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
3823
3823
|
tenantId: appkitOptions.tenant(),
|
|
3824
3824
|
device: "mini"
|
|
3825
3825
|
}).then((result) => {
|
|
3826
|
-
if (result === true)
|
|
3826
|
+
if (result === true) {
|
|
3827
|
+
showLoginRule.value = false;
|
|
3828
|
+
loginRuleTip.value = "";
|
|
3829
|
+
emits("show", loginRuleTip.value);
|
|
3827
3830
|
return;
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
+
} else if (result.status) {
|
|
3832
|
+
showLoginRule.value = true;
|
|
3833
|
+
loginRuleTip.value = result.message;
|
|
3834
|
+
emits("show", loginRuleTip.value);
|
|
3835
|
+
}
|
|
3831
3836
|
});
|
|
3832
3837
|
}, 100);
|
|
3833
3838
|
const emits = __emit;
|
package/package.json
CHANGED
package/src/notice/api/index.ts
CHANGED
|
@@ -67,13 +67,16 @@ const checkLoginTimeRule = debounce(() => {
|
|
|
67
67
|
device: 'mini',
|
|
68
68
|
})
|
|
69
69
|
.then((result: any) => {
|
|
70
|
-
if (result === true)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
if (result === true) {
|
|
71
|
+
showLoginRule.value = false
|
|
72
|
+
loginRuleTip.value = ''
|
|
73
|
+
emits('show', loginRuleTip.value)
|
|
74
|
+
return
|
|
75
|
+
} else if (result.status) {
|
|
76
|
+
showLoginRule.value = true
|
|
77
|
+
loginRuleTip.value = result.message
|
|
78
|
+
emits('show', loginRuleTip.value)
|
|
79
|
+
}
|
|
77
80
|
})
|
|
78
81
|
}, 100)
|
|
79
82
|
|