UI 编辑器打开时不再重复渲染工作台布局层的钱包入口
- apps/ai-game-creator-shell/src/view/project-development/index.tsx 主工作台布局里的 walletEntry 槽改为 !uiEditorRoute && walletEntry - UI 编辑器路由下 UiEditorPage 自己会用同一份 walletEntry 渲染头部钱包,布局层再渲染一次会让同一个入口挂载两份、浮层与编辑器工具条钱包重叠
This commit is contained in:
@@ -7842,7 +7842,7 @@ export default function ProjectDevelopmentView({
|
||||
conversationOnlyWorkbench ? ' is-conversation-only' : ''
|
||||
}`}
|
||||
>
|
||||
{walletEntry ? (
|
||||
{!uiEditorRoute && walletEntry ? (
|
||||
<div className="game-workbench-layout-account">{walletEntry}</div>
|
||||
) : null}
|
||||
<section
|
||||
|
||||
Reference in New Issue
Block a user