@jx3box/jx3box-ui 2.1.17 → 2.1.19

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.
@@ -183,6 +183,46 @@
183
183
  "status": true,
184
184
  "parentKey": "fb"
185
185
  },
186
+ {
187
+ "key": "tool",
188
+ "link": "/tool/",
189
+ "label": "工具",
190
+ "client": "all",
191
+ "status": true,
192
+ "parentKey": ""
193
+ },
194
+ {
195
+ "key": "tool_post",
196
+ "link": "/tool",
197
+ "label": "教程资源",
198
+ "client": "all",
199
+ "status": true,
200
+ "parentKey": "tool"
201
+ },
202
+ {
203
+ "key": "dbm",
204
+ "link": "/dbm/",
205
+ "label": "插件数据",
206
+ "client": "all",
207
+ "status": true,
208
+ "parentKey": "tool"
209
+ },
210
+ {
211
+ "key": "database",
212
+ "link": "/app/database/",
213
+ "label": "数据大全",
214
+ "client": "all",
215
+ "status": true,
216
+ "parentKey": "tool"
217
+ },
218
+ {
219
+ "key": "design",
220
+ "link": "/app/design/",
221
+ "label": "美术资源",
222
+ "client": "all",
223
+ "status": true,
224
+ "parentKey": "tool"
225
+ },
186
226
  {
187
227
  "key": "wiki",
188
228
  "link": "/cj/",
@@ -263,46 +303,6 @@
263
303
  "status": true,
264
304
  "parentKey": "pvx"
265
305
  },
266
- {
267
- "key": "tool",
268
- "link": "/tool/",
269
- "label": "工具",
270
- "client": "all",
271
- "status": true,
272
- "parentKey": ""
273
- },
274
- {
275
- "key": "tool_post",
276
- "link": "/tool",
277
- "label": "教程资源",
278
- "client": "all",
279
- "status": true,
280
- "parentKey": "tool"
281
- },
282
- {
283
- "key": "dbm",
284
- "link": "/dbm/",
285
- "label": "插件数据",
286
- "client": "all",
287
- "status": true,
288
- "parentKey": "tool"
289
- },
290
- {
291
- "key": "database",
292
- "link": "/app/database/",
293
- "label": "数据大全",
294
- "client": "all",
295
- "status": true,
296
- "parentKey": "tool"
297
- },
298
- {
299
- "key": "design",
300
- "link": "/app/design/",
301
- "label": "美术资源",
302
- "client": "all",
303
- "status": true,
304
- "parentKey": "tool"
305
- },
306
306
  {
307
307
  "key": "bbs",
308
308
  "link": "/community",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.1.17",
3
+ "version": "2.1.19",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -85,6 +85,9 @@ export default {
85
85
  const urlParams = new URLSearchParams(window.location.search);
86
86
  const from = urlParams.get("from");
87
87
  from && sessionStorage.setItem("from", from);
88
+ if (checkIsApp) {
89
+ localStorage.setItem("__env", "app");
90
+ }
88
91
  if (isMiniProgram() || checkIsApp()) {
89
92
  const appid = urlParams.get("appid");
90
93
  const item = miniprogram?.find((item) => item.appid === appid);