ss-component-new 1.3.588 → 1.3.589
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.
|
@@ -71,7 +71,19 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
71
71
|
default: () => []
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
emits: [
|
|
74
|
+
emits: [
|
|
75
|
+
"buildContent",
|
|
76
|
+
"openThreeBuild",
|
|
77
|
+
"threeData",
|
|
78
|
+
"setLoginInfo",
|
|
79
|
+
"projectLogin",
|
|
80
|
+
"updateApiUrl",
|
|
81
|
+
"clearFileContent",
|
|
82
|
+
"systemContent",
|
|
83
|
+
"getMenuPathValue",
|
|
84
|
+
"executeWorkspace",
|
|
85
|
+
"updateVersion"
|
|
86
|
+
],
|
|
75
87
|
setup(m, { emit: _ }) {
|
|
76
88
|
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F), f = Y(h), g = z(!0), { activeMenuPath: I } = v(f), e = m, o = _, j = N(() => {
|
|
77
89
|
var t, n;
|
|
@@ -108,13 +120,17 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
108
120
|
let t = e == null ? void 0 : e.loginContent;
|
|
109
121
|
if (t != null && t.account && (t != null && t.password) && !E.value && (await ee(t), status)) {
|
|
110
122
|
let c = await p();
|
|
111
|
-
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync(
|
|
124
|
+
{
|
|
125
|
+
type: "登录",
|
|
126
|
+
data: {
|
|
127
|
+
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
128
|
+
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"/login",
|
|
132
|
+
"login"
|
|
133
|
+
), f.setHasClickEditComp(!1);
|
|
118
134
|
}
|
|
119
135
|
g.value = !1, await V();
|
|
120
136
|
},
|
|
@@ -125,13 +141,18 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
125
141
|
}, K = () => {
|
|
126
142
|
o("projectLogin", "");
|
|
127
143
|
};
|
|
128
|
-
y(
|
|
129
|
-
|
|
130
|
-
|
|
144
|
+
y(
|
|
145
|
+
() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo],
|
|
146
|
+
async ([t, n]) => {
|
|
147
|
+
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
148
|
+
},
|
|
149
|
+
{ immediate: !0 }
|
|
150
|
+
), y(
|
|
131
151
|
() => e == null ? void 0 : e.interfaceContent,
|
|
132
152
|
() => {
|
|
133
153
|
var a, u, l, c, r;
|
|
134
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0)
|
|
154
|
+
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0)
|
|
155
|
+
return;
|
|
135
156
|
let t = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (l = e == null ? void 0 : e.interfaceContent) == null ? void 0 : l.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
136
157
|
n = (c = n == null ? void 0 : n.split("=")) == null ? void 0 : c[1], n = n == null ? void 0 : n.trim(), t = (r = t == null ? void 0 : t.split("=")) == null ? void 0 : r[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
|
|
137
158
|
},
|
|
@@ -195,7 +216,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
195
216
|
]);
|
|
196
217
|
};
|
|
197
218
|
}
|
|
198
|
-
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-
|
|
219
|
+
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-14f73a0e"]]);
|
|
199
220
|
export {
|
|
200
221
|
de as default
|
|
201
222
|
};
|