lw-cdp-ui 1.0.21 → 1.0.22

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.
@@ -95,6 +95,7 @@ export default {
95
95
  confirmButtonText: '退出',
96
96
  confirmButtonClass: 'el-button--danger'
97
97
  }).then(() => {
98
+ sessionStorage.clear()
98
99
  this.$router.replace({ path: '/login' });
99
100
  }).catch(() => {
100
101
  //取消退出
@@ -136,8 +136,7 @@ export default {
136
136
  this.$tool.data.clear();
137
137
  this.$store.commit("clearViewTags");
138
138
  this.$store.commit("clearKeepLive");
139
- this.$store.commit("clearIframeList");
140
- sessionStorage.clear()
139
+ this.$store.commit("clearIframeList")
141
140
 
142
141
  // 旧项目处理兼容 后期要去掉
143
142
  this.getOldData()
@@ -720,7 +720,7 @@ const bu = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h],
720
720
  confirmButtonText: "退出",
721
721
  confirmButtonClass: "el-button--danger"
722
722
  }).then(() => {
723
- this.$router.replace({ path: "/login" });
723
+ sessionStorage.clear(), this.$router.replace({ path: "/login" });
724
724
  }).catch(() => {
725
725
  });
726
726
  },
@@ -813,7 +813,7 @@ function _sfc_render$g(o, s, r, y, c, p) {
813
813
  }, 8, ["onCommand"])
814
814
  ]);
815
815
  }
816
- const userbar = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-63a41d66"]]), colorTool = {
816
+ const userbar = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-dc35e08c"]]), colorTool = {
817
817
  //hex颜色转rgb颜色
818
818
  HexToRgb(o) {
819
819
  o = o.replace("#", "");
@@ -3262,7 +3262,7 @@ const JSEncrypt = /* @__PURE__ */ getDefaultExportFromCjs(jsencrypt_minExports),
3262
3262
  };
3263
3263
  },
3264
3264
  created: function() {
3265
- this.$tool.data.clear(), this.$store.commit("clearViewTags"), this.$store.commit("clearKeepLive"), this.$store.commit("clearIframeList"), sessionStorage.clear(), this.getOldData();
3265
+ this.$tool.data.clear(), this.$store.commit("clearViewTags"), this.$store.commit("clearKeepLive"), this.$store.commit("clearIframeList"), this.getOldData();
3266
3266
  },
3267
3267
  methods: {
3268
3268
  // 旧项目处理兼容
@@ -3454,7 +3454,7 @@ function _sfc_render$b(o, s, r, y, c, p) {
3454
3454
  [vShow, c.isShow]
3455
3455
  ]);
3456
3456
  }
3457
- const lwLogin = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b], ["__scopeId", "data-v-442bda23"]]), _sfc_main$b = {
3457
+ const lwLogin = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b], ["__scopeId", "data-v-42589f68"]]), _sfc_main$b = {
3458
3458
  emits: ["update:modelValue", "change"],
3459
3459
  name: "Input",
3460
3460
  props: {