openxiangda 1.0.67 → 1.0.68
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/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ChevronRight,
|
|
5
5
|
CircleHelp,
|
|
6
6
|
Database,
|
|
7
|
+
ExternalLink,
|
|
7
8
|
FileText,
|
|
8
9
|
FolderOpen,
|
|
9
10
|
Globe2,
|
|
@@ -350,6 +351,21 @@ export function AdminShell() {
|
|
|
350
351
|
<FolderOpen size={17} />
|
|
351
352
|
重新加载上下文
|
|
352
353
|
</button>
|
|
354
|
+
<button
|
|
355
|
+
className="flex w-full items-center gap-2 rounded-xl px-3 py-2 text-left text-sm text-slate-600 transition hover:bg-slate-50"
|
|
356
|
+
onClick={() => {
|
|
357
|
+
setUserMenuOpen(false);
|
|
358
|
+
window.open(
|
|
359
|
+
`/dev/${encodeURIComponent(appType)}/admin`,
|
|
360
|
+
"_blank",
|
|
361
|
+
"noopener,noreferrer",
|
|
362
|
+
);
|
|
363
|
+
}}
|
|
364
|
+
type="button"
|
|
365
|
+
>
|
|
366
|
+
<ExternalLink size={17} />
|
|
367
|
+
打开开发态
|
|
368
|
+
</button>
|
|
353
369
|
<button
|
|
354
370
|
className="flex w-full items-center gap-2 rounded-xl px-3 py-2 text-left text-sm text-rose-600 transition hover:bg-rose-50"
|
|
355
371
|
disabled={loggingOut}
|