@scx-js/scx-admin 0.0.3 → 0.0.5

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.
@@ -57,7 +57,6 @@ const ScxAdminComponent = {
57
57
  //安装组件
58
58
  components.forEach(c => {
59
59
  app.component(c.name, c);
60
- console.log(c);
61
60
  });
62
61
  //安装指令
63
62
  directives.forEach(d => app.directive(d.name, d));
@@ -72,7 +72,6 @@ export default {
72
72
  */
73
73
  function logout() {
74
74
  auth.logout().then(() => {
75
- debugger;
76
75
  ElMessage.success("退出登录成功 !!!");
77
76
  //查看当前页面是否在未登录即可访问的白名单中 , 在的话不做任何处理 , 不在的话重定向到登录
78
77
  if (!routeNoNeedLogin(route)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scx-js/scx-admin",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "SCX Admin",
5
5
  "license": "MIT",
6
6
  "author": "scx567888",
@@ -16,9 +16,10 @@
16
16
  "url": "https://github.com/scx567888/scx-js.git"
17
17
  },
18
18
  "dependencies": {
19
- "@scx-js/scx-app-x": "0.0.3",
20
- "@scx-js/scx-common": "0.0.3",
21
- "@scx-js/scx-dom": "0.0.3",
19
+ "@scx-js/scx-app-x": "0.0.5",
20
+ "@scx-js/scx-common": "0.0.5",
21
+ "@scx-js/scx-dom": "0.0.5",
22
+ "@scx-js/scx-http": "0.0.5",
22
23
  "element-plus": "^2.9.3",
23
24
  "nprogress": "^0.2.0"
24
25
  },
@@ -1,4 +1,5 @@
1
1
  import {copyArray, isFunction, isNull, isObject, notNull} from "@scx-js/scx-common";
2
+ import {useScxReq} from "@scx-js/scx-http";
2
3
 
3
4
  function myEqual(value1, value2) {
4
5
  return String(value1) === String(value2);