ss-component-new 1.3.593 → 1.3.595
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.
- package/dist/{index-B9jvDVI4.js → index-6qXeMn6b.js} +13 -34
- package/dist/{ss-component-new.css → ss-component.css} +1 -1
- package/dist/ss-component.js +9 -71
- package/dist/ss-component2.js +74 -0
- package/package.json +2 -20
- package/dist/svg.js +0 -12
- /package/dist/{router.js → ss-component3.js} +0 -0
|
@@ -71,19 +71,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
71
71
|
default: () => []
|
|
72
72
|
}
|
|
73
73
|
},
|
|
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
|
-
],
|
|
74
|
+
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
87
75
|
setup(m, { emit: _ }) {
|
|
88
76
|
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(() => {
|
|
89
77
|
var t, n;
|
|
@@ -120,17 +108,13 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
120
108
|
let t = e == null ? void 0 : e.loginContent;
|
|
121
109
|
if (t != null && t.account && (t != null && t.password) && !E.value && (await ee(t), status)) {
|
|
122
110
|
let c = await p();
|
|
123
|
-
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync(
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
"/login",
|
|
132
|
-
"login"
|
|
133
|
-
), f.setHasClickEditComp(!1);
|
|
111
|
+
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync({
|
|
112
|
+
type: "登录",
|
|
113
|
+
data: {
|
|
114
|
+
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
115
|
+
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
116
|
+
}
|
|
117
|
+
}, "/login", "login"), f.setHasClickEditComp(!1);
|
|
134
118
|
}
|
|
135
119
|
g.value = !1, await V();
|
|
136
120
|
},
|
|
@@ -141,18 +125,13 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
141
125
|
}, K = () => {
|
|
142
126
|
o("projectLogin", "");
|
|
143
127
|
};
|
|
144
|
-
y(
|
|
145
|
-
()
|
|
146
|
-
|
|
147
|
-
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
148
|
-
},
|
|
149
|
-
{ immediate: !0 }
|
|
150
|
-
), y(
|
|
128
|
+
y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
129
|
+
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
130
|
+
}, { immediate: !0 }), y(
|
|
151
131
|
() => e == null ? void 0 : e.interfaceContent,
|
|
152
132
|
() => {
|
|
153
133
|
var a, u, l, c, r;
|
|
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;
|
|
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) return;
|
|
156
135
|
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"));
|
|
157
136
|
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 ?? "");
|
|
158
137
|
},
|
|
@@ -216,7 +195,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
216
195
|
]);
|
|
217
196
|
};
|
|
218
197
|
}
|
|
219
|
-
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-
|
|
198
|
+
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-99738074"]]);
|
|
220
199
|
export {
|
|
221
200
|
de as default
|
|
222
201
|
};
|