perf: attribute
This commit is contained in:
@@ -238,7 +238,7 @@ const Settings = ({ modelId }: { modelId: string }) => {
|
||||
router.prefetch('/chat');
|
||||
await saveUpdateModel();
|
||||
} catch (error) {}
|
||||
router.push(`/chat?modelId=${modelId}`);
|
||||
router.push(`/chat?appId=${modelId}`);
|
||||
}}
|
||||
>
|
||||
对话
|
||||
|
||||
@@ -31,8 +31,8 @@ const ModuleStoreList = ({
|
||||
position={'fixed'}
|
||||
top={0}
|
||||
left={0}
|
||||
right={0}
|
||||
bottom={0}
|
||||
w={'360px'}
|
||||
></Box>
|
||||
<Flex
|
||||
zIndex={3}
|
||||
@@ -66,7 +66,7 @@ const ModuleStoreList = ({
|
||||
borderRadius={'md'}
|
||||
draggable
|
||||
onDragEnd={(e) => {
|
||||
// if (e.clientX < 400) return;
|
||||
if (e.clientX < 360) return;
|
||||
onAddNode({
|
||||
template: item,
|
||||
position: { x: e.clientX, y: e.clientY }
|
||||
|
||||
@@ -187,6 +187,7 @@ const AppEdit = ({ app, onBack }: Props) => {
|
||||
targets: [] as FlowOutputTargetItemType[]
|
||||
}))
|
||||
}));
|
||||
console.log(modules);
|
||||
|
||||
// update inputs and outputs
|
||||
modules.forEach((module) => {
|
||||
|
||||
Reference in New Issue
Block a user