修复bug,进一步优化quickstart.sh

This commit is contained in:
2025-12-11 10:39:55 +08:00
parent 9d32874e1e
commit 7f15051f18
5 changed files with 8 additions and 5 deletions

View File

@@ -193,7 +193,7 @@ export function DevTools() {
<div className="w-full h-full">
{terminalLoaded ? (
<iframe
src={`http://localhost:${process.env.NEXT_PUBLIC_DEV_TERMINAL_DEFAULT_PORT || '7681'}`}
src={process.env.NEXT_PUBLIC_DEV_TERMINAL_URL || `http://localhost:${process.env.NEXT_PUBLIC_DEV_TERMINAL_DEFAULT_PORT || '7681'}`}
className="w-full h-full border-0 rounded-md bg-black"
title="开发终端"
/>

View File

@@ -207,7 +207,7 @@ export function RoleManagementDialog() {
options={permissions.map(p => ({ ...p, id: p.id.toString() }))}
value={editingRole.permissionIds.map(String)}
onChange={handlePermissionChange}
multiple={{ enable: true, limit: 1 }}
multiple={{ enable: true }}
>
<SelectPopover>
<SelectTrigger placeholder="选择权限">