@uxda/appkit 1.2.38 → 1.2.40

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/appkit.css CHANGED
@@ -1274,7 +1274,7 @@ page {
1274
1274
  }
1275
1275
  .login-setting {
1276
1276
  position: fixed;
1277
- z-index: 10000;
1277
+ z-index: 4;
1278
1278
  left: 12px;
1279
1279
  top: 10px;
1280
1280
  bottom: 10px;
package/dist/index.js CHANGED
@@ -3489,7 +3489,7 @@ function useHttp() {
3489
3489
  return false;
3490
3490
  },
3491
3491
  (raw) => {
3492
- if (raw.status > 500) {
3492
+ if (raw.status > 500 && raw.status != 51014) {
3493
3493
  return true;
3494
3494
  }
3495
3495
  return false;
@@ -3820,7 +3820,7 @@ var script = /* @__PURE__ */ defineComponent({
3820
3820
  appCode: props.app || appkitOptions.app(),
3821
3821
  tenantId: appkitOptions.tenant()
3822
3822
  }).then((result) => {
3823
- if (result)
3823
+ if (result === true)
3824
3824
  return;
3825
3825
  getLoginRule();
3826
3826
  showLoginRule.value = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -54,7 +54,7 @@ function useHttp() {
54
54
  return false
55
55
  },
56
56
  (raw) => {
57
- if (raw.status > 500) {
57
+ if (raw.status > 500 && raw.status != 51014) {
58
58
  return true
59
59
  }
60
60
  return false
@@ -60,8 +60,8 @@ async function checkLoginTimeRule() {
60
60
  appCode: props.app || appkitOptions.app(),
61
61
  tenantId: appkitOptions.tenant(),
62
62
  })
63
- .then((result) => {
64
- if (result) return
63
+ .then((result: any) => {
64
+ if (result === true) return
65
65
 
66
66
  getLoginRule()
67
67
  showLoginRule.value = true
@@ -91,7 +91,7 @@ const emits = defineEmits(['show'])
91
91
  <style lang="scss">
92
92
  .login-setting {
93
93
  position: fixed;
94
- z-index: 10000;
94
+ z-index: 4;
95
95
  left: 12px;
96
96
  top: 10px;
97
97
  bottom: 10px;