ss-component-new 1.3.645 → 1.3.647
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.
|
@@ -72,8 +72,8 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
|
-
setup(
|
|
76
|
-
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F),
|
|
75
|
+
setup(m, { emit: _ }) {
|
|
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(() => {
|
|
77
77
|
var t, n;
|
|
78
78
|
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
79
|
}), B = (t) => {
|
|
@@ -87,7 +87,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
87
87
|
() => e == null ? void 0 : e.menuFiles,
|
|
88
88
|
() => {
|
|
89
89
|
var t;
|
|
90
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 &&
|
|
90
|
+
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && f.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
91
91
|
},
|
|
92
92
|
{ deep: !0, immediate: !0 }
|
|
93
93
|
), y(
|
|
@@ -97,7 +97,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
97
97
|
let t = await Z({
|
|
98
98
|
platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
|
|
99
99
|
});
|
|
100
|
-
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result,
|
|
100
|
+
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result, f.setDataFiles(t), o("getMenuPathValue", I.value);
|
|
101
101
|
},
|
|
102
102
|
{ deep: !0, immediate: !0 }
|
|
103
103
|
), y(
|
|
@@ -114,15 +114,15 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
114
114
|
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
115
115
|
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
116
116
|
}
|
|
117
|
-
}, "/login", "login"),
|
|
117
|
+
}, "/login", "login"), f.setHasClickEditComp(!1);
|
|
118
118
|
}
|
|
119
119
|
g.value = !1, await V();
|
|
120
120
|
},
|
|
121
121
|
{ deep: !0, immediate: !0 }
|
|
122
122
|
);
|
|
123
|
-
const
|
|
123
|
+
const b = (t) => {
|
|
124
124
|
o("projectLogin", t);
|
|
125
|
-
},
|
|
125
|
+
}, x = () => {
|
|
126
126
|
o("projectLogin", "");
|
|
127
127
|
};
|
|
128
128
|
y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
@@ -139,7 +139,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
139
139
|
), k(async () => {
|
|
140
140
|
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
|
|
141
141
|
});
|
|
142
|
-
const
|
|
142
|
+
const K = () => {
|
|
143
143
|
o("buildContent");
|
|
144
144
|
}, R = () => {
|
|
145
145
|
o("setLoginInfo");
|
|
@@ -154,7 +154,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
154
154
|
}, C = () => {
|
|
155
155
|
var r, i, S;
|
|
156
156
|
const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
|
|
157
|
-
|
|
157
|
+
f.setSystemHeight(n);
|
|
158
158
|
const a = 1920, u = 16, l = t / a, c = u * l;
|
|
159
159
|
document.documentElement.style.fontSize = `${c}px`;
|
|
160
160
|
};
|
|
@@ -173,15 +173,15 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
173
173
|
pathContent: e == null ? void 0 : e.pathContent,
|
|
174
174
|
showButton: j.value,
|
|
175
175
|
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
176
|
-
windowConfig:
|
|
177
|
-
systemInfo:
|
|
178
|
-
"old-systemKey":
|
|
179
|
-
onBuildContent:
|
|
180
|
-
onProjectLogin:
|
|
181
|
-
onClearLogin:
|
|
176
|
+
windowConfig: m.windowConfig,
|
|
177
|
+
systemInfo: m.systemInfo,
|
|
178
|
+
"old-systemKey": m.systemKey,
|
|
179
|
+
onBuildContent: K,
|
|
180
|
+
onProjectLogin: b,
|
|
181
|
+
onClearLogin: x,
|
|
182
182
|
onUpdateApiUrl: O,
|
|
183
183
|
onOpenThreeBuild: U,
|
|
184
|
-
pageKey:
|
|
184
|
+
pageKey: m.pageKey,
|
|
185
185
|
onThreeData: H,
|
|
186
186
|
onSetLoginInfo: R,
|
|
187
187
|
loginContent: e == null ? void 0 : e.loginContent,
|
|
@@ -195,7 +195,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
195
195
|
]);
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-
|
|
198
|
+
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-201a6b2b"]]);
|
|
199
199
|
export {
|
|
200
200
|
de as default
|
|
201
201
|
};
|