ss-component-new 1.3.698 → 1.3.699

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.
@@ -0,0 +1,213 @@
1
+ import { defineComponent as W, ref as b, computed as z, watch as m, nextTick as U, onMounted as S, onUnmounted as N, resolveComponent as V, createElementBlock as v, openBlock as g, createBlock as G } from "vue";
2
+ import { u as $, a as q, g as J, v as Q } from "./origin-Bs605dr-.js";
3
+ import { p as k, s as _, u as X } from "./menu-ZnhLgjWw.js";
4
+ import { l as Y } from "./index-D1ebCzlM.js";
5
+ import { useRouter as Z } from "vue-router";
6
+ import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const ee = { key: 0 }, te = /* @__PURE__ */ W({
8
+ __name: "index",
9
+ props: {
10
+ windowConfig: {
11
+ type: Object,
12
+ default: () => {
13
+ }
14
+ },
15
+ systemInfo: {
16
+ type: Object,
17
+ default: () => {
18
+ }
19
+ },
20
+ systemKey: {
21
+ type: String,
22
+ default: ""
23
+ },
24
+ pathContent: {
25
+ type: String,
26
+ default: ""
27
+ },
28
+ mode: {
29
+ type: String,
30
+ default: "view"
31
+ },
32
+ content: {
33
+ type: String,
34
+ default: ""
35
+ },
36
+ jsonContents: {
37
+ type: Array,
38
+ default: () => []
39
+ },
40
+ showButton: {
41
+ type: Boolean,
42
+ default: !1
43
+ },
44
+ nodeDev: {
45
+ type: String,
46
+ default: ""
47
+ },
48
+ pageKey: {
49
+ type: String,
50
+ default: ""
51
+ },
52
+ interfaceContent: {
53
+ type: Array,
54
+ default: () => []
55
+ },
56
+ loginContent: {
57
+ type: Object,
58
+ default: () => {
59
+ }
60
+ },
61
+ menuFiles: {
62
+ type: Array,
63
+ default: () => []
64
+ },
65
+ workspaceHistoryData: {
66
+ type: Array,
67
+ default: () => []
68
+ },
69
+ // 用于打开/拣选工作区
70
+ workspaceInfo: {
71
+ type: Object,
72
+ default: () => []
73
+ }
74
+ },
75
+ emits: [
76
+ "buildContent",
77
+ "openThreeBuild",
78
+ "threeData",
79
+ "setLoginInfo",
80
+ "projectLogin",
81
+ "updateApiUrl",
82
+ "clearFileContent",
83
+ "systemContent",
84
+ "getMenuPathValue",
85
+ "executeWorkspace",
86
+ "updateVersion"
87
+ ],
88
+ setup(d, { emit: L }) {
89
+ const D = Z(), u = $(k), { loginUserInfo: s } = _(u), { initSystemInfo: A } = q(), l = X(k), w = b(!0), { activeMenuPath: h } = _(l), e = d, o = L, F = z(() => {
90
+ var t, n;
91
+ return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.accounttype) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
92
+ }), E = (t) => {
93
+ o("systemContent", t);
94
+ }, j = () => {
95
+ o("updateVersion");
96
+ }, B = () => {
97
+ o("clearFileContent");
98
+ };
99
+ m(
100
+ () => e == null ? void 0 : e.menuFiles,
101
+ () => {
102
+ var t;
103
+ ((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && l.setLocalFiles(e == null ? void 0 : e.menuFiles);
104
+ },
105
+ { deep: !0, immediate: !0 }
106
+ ), m(
107
+ () => h.value,
108
+ async () => {
109
+ var n, i, c;
110
+ if (!((n = s == null ? void 0 : s.value) != null && n.plat_id)) return;
111
+ let t = await J({
112
+ platId: parseInt((i = s == null ? void 0 : s.value) == null ? void 0 : i.plat_id)
113
+ });
114
+ t = (c = t == null ? void 0 : t.data) == null ? void 0 : c.result, l.setDataFiles(t), o("getMenuPathValue", h.value);
115
+ },
116
+ { deep: !0, immediate: !0 }
117
+ ), m(
118
+ () => e == null ? void 0 : e.loginContent,
119
+ async () => {
120
+ w.value = !0;
121
+ let t = e == null ? void 0 : e.loginContent;
122
+ if (t != null && t.account && (t != null && t.password) && (await Y(t), status)) {
123
+ let n = await Q();
124
+ o("systemContent", n == null ? void 0 : n.allMenuContents), D.push("/"), l.setHasClickEditComp(!1);
125
+ }
126
+ w.value = !1, await U();
127
+ },
128
+ { deep: !0, immediate: !0 }
129
+ );
130
+ const M = (t) => {
131
+ o("projectLogin", t);
132
+ }, T = () => {
133
+ o("projectLogin", "");
134
+ };
135
+ m(
136
+ () => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo],
137
+ async ([t, n]) => {
138
+ u.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
139
+ },
140
+ { immediate: !0 }
141
+ ), m(
142
+ () => e == null ? void 0 : e.interfaceContent,
143
+ () => {
144
+ var i, c, r, y, f;
145
+ if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((i = e == null ? void 0 : e.interfaceContent) == null ? void 0 : i.length) === 0)
146
+ return;
147
+ let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((a) => a == null ? void 0 : a.includes("VITE_API_NEW_URL")), n = (r = e == null ? void 0 : e.interfaceContent) == null ? void 0 : r.find((a) => a == null ? void 0 : a.includes("VITE_FACE_RECOGNITION_API_URL"));
148
+ n = (y = n == null ? void 0 : n.split("=")) == null ? void 0 : y[1], n = n == null ? void 0 : n.trim(), t = (f = t == null ? void 0 : t.split("=")) == null ? void 0 : f[1], t = t == null ? void 0 : t.trim(), u.setExtraUrl(n ?? ""), u.setSystemUrl(t ?? "");
149
+ },
150
+ { immediate: !0, deep: !0 }
151
+ ), S(async () => {
152
+ e.systemInfo ? u.setSystemInfo(e.systemInfo) : await A();
153
+ });
154
+ const x = () => {
155
+ o("buildContent");
156
+ }, K = () => {
157
+ o("setLoginInfo");
158
+ }, H = (t) => {
159
+ o("openThreeBuild", t);
160
+ }, O = (t) => {
161
+ o("threeData", t);
162
+ }, P = (t) => {
163
+ o("updateApiUrl", t);
164
+ }, R = (t) => {
165
+ o("executeWorkspace", t);
166
+ }, C = () => {
167
+ var f, a, I;
168
+ const t = e != null && e.windowConfig ? (f = e == null ? void 0 : e.windowConfig) == null ? void 0 : f.width : window.innerWidth, n = (a = e == null ? void 0 : e.windowConfig) != null && a.height ? (I = e == null ? void 0 : e.windowConfig) == null ? void 0 : I.height : window.innerHeight;
169
+ l.setSystemHeight(n);
170
+ const i = 1920, c = 16, r = t / i, y = c * r;
171
+ document.documentElement.style.fontSize = `${y}px`;
172
+ };
173
+ return S(() => {
174
+ C(), window.addEventListener("resize", C);
175
+ }), N(() => {
176
+ window.removeEventListener("resize", C);
177
+ }), (t, n) => {
178
+ const i = V("router-view");
179
+ return g(), v("div", null, [
180
+ w.value ? (g(), v("div", ee)) : (g(), G(i, {
181
+ key: 1,
182
+ mode: e == null ? void 0 : e.mode,
183
+ content: e == null ? void 0 : e.content,
184
+ jsonContents: e == null ? void 0 : e.jsonContents,
185
+ pathContent: e == null ? void 0 : e.pathContent,
186
+ showButton: F.value,
187
+ nodeDev: e == null ? void 0 : e.nodeDev,
188
+ windowConfig: d.windowConfig,
189
+ systemInfo: d.systemInfo,
190
+ "old-systemKey": d.systemKey,
191
+ onBuildContent: x,
192
+ onProjectLogin: M,
193
+ onClearLogin: T,
194
+ onUpdateApiUrl: P,
195
+ onOpenThreeBuild: H,
196
+ pageKey: d.pageKey,
197
+ onThreeData: O,
198
+ onSetLoginInfo: K,
199
+ loginContent: e == null ? void 0 : e.loginContent,
200
+ onUpdateVersion: j,
201
+ onClearFileContent: B,
202
+ onSystemContent: E,
203
+ onExecuteWorkspace: R,
204
+ workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
205
+ workspaceInfo: e == null ? void 0 : e.workspaceInfo
206
+ }, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
207
+ ]);
208
+ };
209
+ }
210
+ }), de = /* @__PURE__ */ p(te, [["__scopeId", "data-v-80ce3f86"]]);
211
+ export {
212
+ de as default
213
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as q, resolveComponent as u, createElementBlock as k, openBlock as s, Fragment as y, renderList as C, createBlock as f, createCommentVNode as z, withCtx as o, createVNode as r, createSlots as O, renderSlot as d, mergeProps as P, computed as j, ref as D, normalizeStyle as g } from "vue";
2
- import { u as G, p as w, s as b, a as H } from "./menu-Blo579Ai.js";
2
+ import { u as G, p as w, s as b, q as H } from "./menu-ZnhLgjWw.js";
3
3
  import { S as $ } from "./index-BKK_dL6t.js";
4
- import "./index-Cc1nPEpp.js";
4
+ import "./index-DzkvwqGK.js";
5
5
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const K = /* @__PURE__ */ q({
7
7
  __name: "menuItem",
@@ -1,9 +1,10 @@
1
- import { createElementBlock as D, openBlock as $, createElementVNode as l, renderSlot as R, defineComponent as W, ref as C, resolveComponent as w, createVNode as t, withCtx as o, unref as O, reactive as se, computed as G, onMounted as fe, createBlock as J, resolveDirective as Ue, createCommentVNode as oe, withDirectives as ke, normalizeClass as ne, toDisplayString as x, Transition as Ve, watch as j, Fragment as Le, createTextVNode as M, onBeforeUnmount as $e } from "vue";
2
- import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { p as ee, s as le, u as Ie } from "./menu-Blo579Ai.js";
4
- import { u as te, _ as Y, e as Fe, h as qe, i as Ae, j as ie, E as re, s as ve, k as De, l as xe, p as Re, v as Ne } from "./index.vue_vue_type_script_setup_true_lang-Dj5jZLRU.js";
1
+ import { createElementBlock as D, openBlock as $, createElementVNode as l, renderSlot as R, defineComponent as W, ref as C, resolveComponent as w, createVNode as t, withCtx as o, unref as O, reactive as se, computed as G, onMounted as fe, createBlock as J, resolveDirective as Ue, createCommentVNode as oe, withDirectives as ke, normalizeClass as ne, toDisplayString as x, Transition as Ve, watch as H, Fragment as Le, createTextVNode as M, onBeforeUnmount as $e } from "vue";
2
+ import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ import { p as ee, s as le, u as Ie } from "./menu-ZnhLgjWw.js";
4
+ import { u as te, c as Fe, b as qe, f as Ae, d as ie, E as re, s as ve, e as De, l as xe, p as Re, v as Ne } from "./origin-Bs605dr-.js";
5
+ import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
5
6
  import { useRouter as Se } from "vue-router";
6
- import { l as Ee } from "./index-By70dOai.js";
7
+ import { l as Ee } from "./index-D1ebCzlM.js";
7
8
  const Me = {}, Pe = { class: "left-wrap" }, Be = { class: "left-bg" };
8
9
  function Oe(f, U) {
9
10
  return $(), D("div", Pe, [
@@ -12,10 +13,10 @@ function Oe(f, U) {
12
13
  ])
13
14
  ]);
14
15
  }
15
- const je = /* @__PURE__ */ H(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82"]]), Z = {
16
+ const He = /* @__PURE__ */ K(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82"]]), Z = {
16
17
  ACCOUNT: "account",
17
18
  FACE: "face"
18
- }, He = { class: "right-wrap" }, Ke = { class: "tab-content" }, ze = { class: "tab-tips" }, Qe = { class: "tab-content" }, We = { class: "tab-tips" }, Xe = /* @__PURE__ */ W({
19
+ }, Ke = { class: "right-wrap" }, je = { class: "tab-content" }, ze = { class: "tab-tips" }, Qe = { class: "tab-content" }, We = { class: "tab-tips" }, Xe = /* @__PURE__ */ W({
19
20
  __name: "index",
20
21
  props: {
21
22
  tabList: {
@@ -36,7 +37,7 @@ const je = /* @__PURE__ */ H(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82
36
37
  };
37
38
  return (_, T) => {
38
39
  const v = w("el-button"), m = w("el-tab-pane"), y = w("el-tabs");
39
- return $(), D("div", He, [
40
+ return $(), D("div", Ke, [
40
41
  t(y, {
41
42
  modelValue: g.value,
42
43
  "onUpdate:modelValue": T[0] || (T[0] = (b) => g.value = b),
@@ -51,7 +52,7 @@ const je = /* @__PURE__ */ H(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82
51
52
  R(_.$slots, "tabLabel1", {}, void 0, !0)
52
53
  ]),
53
54
  default: o(() => [
54
- l("div", Ke, [
55
+ l("div", je, [
55
56
  R(_.$slots, "tabContent1", {}, void 0, !0)
56
57
  ]),
57
58
  l("div", {
@@ -93,7 +94,7 @@ const je = /* @__PURE__ */ H(Me, [["render", Oe], ["__scopeId", "data-v-b3dd4a82
93
94
  ]);
94
95
  };
95
96
  }
96
- }), Ge = /* @__PURE__ */ H(Xe, [["__scopeId", "data-v-57780a32"]]), Je = /^[a-z][a-z0-9+.-]*:\/\//i, ce = (f) => Je.test(f);
97
+ }), Ge = /* @__PURE__ */ K(Xe, [["__scopeId", "data-v-57780a32"]]), Je = /^[a-z][a-z0-9+.-]*:\/\//i, ce = (f) => Je.test(f);
97
98
  function Ye(f) {
98
99
  ce(f) || (f = `http://${f}`);
99
100
  try {
@@ -150,7 +151,7 @@ const Ze = () => ({ initUrlInfo: () => ({
150
151
  openDialog: i,
151
152
  handleClose: u
152
153
  }), (L, d) => {
153
- const r = w("el-input"), k = w("el-form-item"), q = w("el-col"), N = w("el-row"), K = w("el-form"), X = w("el-dialog");
154
+ const r = w("el-input"), k = w("el-form-item"), q = w("el-col"), N = w("el-row"), j = w("el-form"), X = w("el-dialog");
154
155
  return $(), J(X, {
155
156
  class: "api-form-dialog",
156
157
  modelValue: a.value,
@@ -163,7 +164,7 @@ const Ze = () => ({ initUrlInfo: () => ({
163
164
  default: o(() => [
164
165
  l("div", et, [
165
166
  l("div", tt, [
166
- t(K, {
167
+ t(j, {
167
168
  class: "api-edit-form",
168
169
  ref_key: "apiFormRef",
169
170
  ref: m,
@@ -247,7 +248,7 @@ const Ze = () => ({ initUrlInfo: () => ({
247
248
  }, 8, ["modelValue"]);
248
249
  };
249
250
  }
250
- }), lt = /* @__PURE__ */ H(st, [["__scopeId", "data-v-a0901fa1"]]), nt = { class: "dialog-header" }, it = { class: "dialog-subtitle" }, rt = {
251
+ }), lt = /* @__PURE__ */ K(st, [["__scopeId", "data-v-a0901fa1"]]), nt = { class: "dialog-header" }, it = { class: "dialog-subtitle" }, rt = {
251
252
  key: 0,
252
253
  class: "restart-panel"
253
254
  }, ct = { class: "restart-title" }, ut = { class: "restart-subtitle" }, dt = {
@@ -294,7 +295,7 @@ const Ze = () => ({ initUrlInfo: () => ({
294
295
  i.value = 1, c = setInterval(() => {
295
296
  i.value = i.value >= 3 ? 1 : i.value + 1;
296
297
  }, 500);
297
- }, K = () => {
298
+ }, j = () => {
298
299
  r();
299
300
  const h = setInterval(() => {
300
301
  n.value = Math.min(n.value + 3, 100), n.value >= 100 && (clearInterval(h), a.value = "success");
@@ -308,7 +309,7 @@ const Ze = () => ({ initUrlInfo: () => ({
308
309
  }
309
310
  try {
310
311
  const { data: s } = await ie.get(V.value + "/platform/config/db", { timeout: 3e3 });
311
- (s == null ? void 0 : s.code) === 200 && (k(), K());
312
+ (s == null ? void 0 : s.code) === 200 && (k(), j());
312
313
  } catch {
313
314
  }
314
315
  }, me);
@@ -595,7 +596,7 @@ const Ze = () => ({ initUrlInfo: () => ({
595
596
  }, 8, ["modelValue", "close-on-click-modal", "close-on-press-escape"]);
596
597
  };
597
598
  }
598
- }), bt = /* @__PURE__ */ H(_t, [["__scopeId", "data-v-36cdd580"]]), yt = { class: "account-wrap" }, ht = { class: "extra-operate" }, Ct = /* @__PURE__ */ W({
599
+ }), bt = /* @__PURE__ */ K(_t, [["__scopeId", "data-v-36cdd580"]]), yt = { class: "account-wrap" }, ht = { class: "extra-operate" }, Ct = /* @__PURE__ */ W({
599
600
  __name: "index",
600
601
  props: {
601
602
  activeTabName: {
@@ -620,7 +621,7 @@ const Ze = () => ({ initUrlInfo: () => ({
620
621
  { required: !0, message: "请输入密码", trigger: "blur" }
621
622
  ]
622
623
  }), e = C(null), _ = U;
623
- j(() => g.isClickLogin, (n) => {
624
+ H(() => g.isClickLogin, (n) => {
624
625
  var a;
625
626
  n && (g == null ? void 0 : g.activeTabName) === "account" && ((a = e.value) == null || a.validate((i) => {
626
627
  var c;
@@ -630,7 +631,7 @@ const Ze = () => ({ initUrlInfo: () => ({
630
631
  }));
631
632
  }, {
632
633
  immediate: !0
633
- }), j(() => g.activeTabName, (n) => {
634
+ }), H(() => g.activeTabName, (n) => {
634
635
  var a;
635
636
  n === "account" && ((a = e.value) == null || a.resetFields());
636
637
  });
@@ -742,16 +743,16 @@ const Ze = () => ({ initUrlInfo: () => ({
742
743
  ], 64);
743
744
  };
744
745
  }
745
- }), wt = /* @__PURE__ */ H(Ct, [["__scopeId", "data-v-7ec7eefc"]]), Tt = te(ee), { systemUrl: P, extraUrl: B } = le(Tt);
746
+ }), wt = /* @__PURE__ */ K(Ct, [["__scopeId", "data-v-7ec7eefc"]]), Tt = te(ee), { systemUrl: P, extraUrl: B } = le(Tt);
746
747
  let ge = P.value === "" || !P.value ? "http://222.92.178.198:63003" : P.value, _e = B.value === "" || !B.value ? "http://139.196.154.85:20015" : B.value;
747
- j(
748
+ H(
748
749
  () => P.value,
749
750
  () => {
750
751
  ge = P.value === "" || !P.value ? "http://222.92.178.198:63003" : P.value;
751
752
  },
752
753
  { deep: !0, immediate: !0 }
753
754
  );
754
- j(
755
+ H(
755
756
  () => B.value,
756
757
  () => {
757
758
  _e = B.value === "" || !B.value ? "http://139.196.154.85:20015" : B.value;
@@ -826,9 +827,9 @@ const Vt = () => {
826
827
  const i = _.value, c = i.getContext("2d"), u = e.value;
827
828
  i.width = 200, i.height = 200;
828
829
  const I = u.videoWidth || 640, L = u.videoHeight || 480, d = Math.min(200 / I, 200 / L), r = I * d, k = L * d, q = (200 - r) / 2, N = (200 - k) / 2;
829
- c == null || c.drawImage(u, 0, 0, I, L, q, N, r, k), i.toBlob((K) => {
830
- if (K) {
831
- const X = new File([K], "face.png", { type: "image/png" });
830
+ c == null || c.drawImage(u, 0, 0, I, L, q, N, r, k), i.toBlob((j) => {
831
+ if (j) {
832
+ const X = new File([j], "face.png", { type: "image/png" });
832
833
  m(X);
833
834
  }
834
835
  }, "image/png");
@@ -858,7 +859,7 @@ const Vt = () => {
858
859
  const a = () => {
859
860
  n(v), T = !1;
860
861
  };
861
- return j(() => g.activeTabName, (i) => {
862
+ return H(() => g.activeTabName, (i) => {
862
863
  if (i !== Z.FACE) {
863
864
  a();
864
865
  return;
@@ -893,7 +894,7 @@ const Vt = () => {
893
894
  }, null, 512)
894
895
  ]));
895
896
  }
896
- }), Ft = /* @__PURE__ */ H(It, [["__scopeId", "data-v-94ec015b"]]), qt = { class: "login-wrap" }, At = { class: "login-body" }, Dt = { class: "login-body-item left" }, xt = { class: "title" }, Rt = { class: "first-level" }, Nt = {
897
+ }), Ft = /* @__PURE__ */ K(It, [["__scopeId", "data-v-94ec015b"]]), qt = { class: "login-wrap" }, At = { class: "login-body" }, Dt = { class: "login-body-item left" }, xt = { class: "title" }, Rt = { class: "first-level" }, Nt = {
897
898
  key: 0,
898
899
  class: "logo"
899
900
  }, St = ["src"], Et = { class: "english-name" }, Mt = { class: "login-body-item right" }, Pt = /* @__PURE__ */ W({
@@ -910,7 +911,7 @@ const Vt = () => {
910
911
  });
911
912
  return URL.createObjectURL(k == null ? void 0 : k.data);
912
913
  };
913
- j(() => {
914
+ H(() => {
914
915
  var r;
915
916
  return (r = e.value) == null ? void 0 : r.logo;
916
917
  }, async (r) => {
@@ -956,7 +957,7 @@ const Vt = () => {
956
957
  m.value = !1;
957
958
  m.value = !1;
958
959
  };
959
- j(
960
+ H(
960
961
  () => g == null ? void 0 : g.loginContent,
961
962
  () => {
962
963
  let r = g == null ? void 0 : g.loginContent;
@@ -972,7 +973,7 @@ const Vt = () => {
972
973
  return (r, k) => ($(), D("div", qt, [
973
974
  l("div", At, [
974
975
  l("div", Dt, [
975
- t(je, { class: "login-left-bg" }, {
976
+ t(He, { class: "login-left-bg" }, {
976
977
  img: o(() => {
977
978
  var q, N;
978
979
  return [
@@ -1037,7 +1038,7 @@ const Vt = () => {
1037
1038
  ])
1038
1039
  ]));
1039
1040
  }
1040
- }), Qt = /* @__PURE__ */ H(Pt, [["__scopeId", "data-v-8aacc6bf"]]);
1041
+ }), Wt = /* @__PURE__ */ K(Pt, [["__scopeId", "data-v-8aacc6bf"]]);
1041
1042
  export {
1042
- Qt as default
1043
+ Wt as default
1043
1044
  };
@@ -1,6 +1,6 @@
1
- import { m as w, b, u as S, E as N, n as v } from "./index.vue_vue_type_script_setup_true_lang-Dj5jZLRU.js";
2
- import { p as h, s as A } from "./menu-Blo579Ai.js";
3
- const y = S(h), { isDefaultModel: M } = b(), P = async (m, s) => {
1
+ import { h as w, a as N, u as S, E as b, i as v } from "./origin-Bs605dr-.js";
2
+ import { p as h, s as A } from "./menu-ZnhLgjWw.js";
3
+ const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
4
4
  var u, o, r, i, a, d, g, p, f;
5
5
  let t = Object.values(m), e = await w({
6
6
  userName: (u = t == null ? void 0 : t[0]) == null ? void 0 : u.trim(),
@@ -12,7 +12,7 @@ const y = S(h), { isDefaultModel: M } = b(), P = async (m, s) => {
12
12
  let c = n;
13
13
  return c.plat_id = c.id ?? s, y.setLoginUserInfo(c), y.setSystemKey(s && s !== "" ? s : n == null ? void 0 : n.id), !0;
14
14
  } else
15
- return N.error("输入的密码错误,请重新输入"), !1;
15
+ return b.error("输入的密码错误,请重新输入"), !1;
16
16
  }, L = S(h), { systemInfo: _, loginUserInfo: l } = A(L), T = async () => (sessionStorage.setItem("loginToken", "111"), !0), j = async () => (sessionStorage.setItem("magicToken", "123456"), !0), E = async (m) => {
17
17
  var o, r, i;
18
18
  let s = [P(m, (o = _.value) == null ? void 0 : o.plat_id), T(), j()];