leisure-core 0.6.32 → 0.6.34

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.
@@ -793,6 +793,7 @@ export default {
793
793
  .userinfo-inner-t {
794
794
  color: #fff !important;
795
795
  font-size: 18px;
796
+ cursor: pointer;
796
797
  }
797
798
 
798
799
  .el-icon-arrow-down {
@@ -57,6 +57,7 @@ service.interceptors.response.use(
57
57
  if (code == "801" || code == "802") {
58
58
  router.push({ path: "/" });
59
59
  } else if (code !== "10000" || code == "803") {
60
+ console.log("请求失败,code和info分别为", code, info);
60
61
  msg(info);
61
62
  // return Promise.reject(info);
62
63
  } else {
@@ -64,6 +65,7 @@ service.interceptors.response.use(
64
65
  }
65
66
  },
66
67
  (error) => {
68
+ console.log("请求失败:" + error);
67
69
  return Promise.reject(error);
68
70
  },
69
71
  );
@@ -251,6 +251,10 @@ export default {
251
251
  this.$router.push({ path: this.home });
252
252
  },
253
253
 
254
+ closeLoading() {
255
+ this.loading = false;
256
+ },
257
+
254
258
  getUserInfo() {
255
259
  return this.formdata;
256
260
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.6.32",
3
+ "version": "0.6.34",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",