mvframe 1.0.77 → 1.0.78

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.
@@ -1,9 +1,9 @@
1
1
  import { createPinia as q, defineStore as y } from "pinia";
2
- const L = () => ({
2
+ const x = () => ({
3
3
  lang: "en_us",
4
4
  /** 路由切换 / 异步页面 chunk 加载期间为 true,由 router guard 维护 */
5
5
  pageLoading: !1
6
- }), x = {
6
+ }), L = {
7
7
  saveData(t, s) {
8
8
  this[t] = s;
9
9
  },
@@ -14,8 +14,8 @@ const L = () => ({
14
14
  this.pageLoading = !!t;
15
15
  }
16
16
  }, A = {
17
- state: L,
18
- actions: x
17
+ state: x,
18
+ actions: L
19
19
  }, g = (t) => t && typeof t == "object" ? t : {}, u = (t) => t && typeof t == "object" ? t : {}, j = () => {
20
20
  var t;
21
21
  return ((t = globalThis.$config) == null ? void 0 : t.loginPageName) || "Entry";
@@ -137,8 +137,11 @@ const L = () => ({
137
137
  saveData(t, s) {
138
138
  this[t] = s;
139
139
  },
140
- show({ el: t, position: s }) {
141
- this.visible = !0, s ? this.position = s : t && (this.el = t);
140
+ show({ el: t, position: s } = {}) {
141
+ this.visible = !0, s ? (this.position = s, this.el = null) : t && (this.el = t, this.position = {
142
+ x: 0,
143
+ y: 0
144
+ });
142
145
  },
143
146
  hide() {
144
147
  this.visible = !1, this.el = null, this.position = {