feat: 完善图像工作区与创作工具体验
This commit is contained in:
@@ -57,7 +57,10 @@ export const aiModules: readonly AiModuleDefinition[] = [
|
||||
];
|
||||
|
||||
export function getAiModuleForPath(pathname: string): AiModuleId {
|
||||
if (pathname === '/image-canvas' || pathname.startsWith('/image-canvas/')) {
|
||||
if (pathname === '/image-canvas'
|
||||
|| pathname.startsWith('/image-canvas/')
|
||||
|| pathname === '/image-prompts'
|
||||
|| pathname.startsWith('/image-prompts/')) {
|
||||
return 'painting';
|
||||
}
|
||||
if (pathname === '/ai-hardware' || pathname.startsWith('/ai-hardware/')) {
|
||||
|
||||
Reference in New Issue
Block a user