We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
@mumiao
Sorry, something went wrong.
这个可以这么改: 修改:
molecule/src/client/slots/editor/index.tsx
Line 46 in de01581
把 renderGroups 中的 DndProvider 去掉,加到 return 中。
const renderGroups = () => { return ( <Split ref={ref} sizes={sizes} split={layout.editorDirection} onChange={onPaneSizeChange}> {groups.map((g) => ( <Split.Pane key={g.id} minSize={220}> <Group group={g} toolbar={toolbar} options={options} onMount={onMount} onModelMount={onModelMount} onSelectTab={onSelectTab} onContextMenu={onContextMenu} onToolbarClick={onToolbarClick} onCloseTab={onCloseTab} onDragStart={onDragStart} onDragEnd={onDragEnd} onDragEnter={onDragEnter} onDragLeave={onDragLeave} onDragOver={onDragOver} onDrop={onDrop} /> </Split.Pane> ))} </Split> ); }; return ( <div className={variables.container}> <Progress active={loading} /> <DndProvider backend={HTML5Backend} context={window}> {current ? renderGroups() : entry} </DndProvider> </div> );
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: