Fix(ToolExecute and ToolView): Fix the bug that can not load tool
Fix the bug that can not load tool when switch tool
This commit is contained in:
@@ -28,7 +28,7 @@ const Execute = () => {
|
||||
setCompiledCode('')
|
||||
setTimeout(() => {
|
||||
setCompiledCode(`${output}\n${baseDist}`)
|
||||
})
|
||||
}, 100)
|
||||
})
|
||||
.catch((reason) => {
|
||||
void message.error(`编译失败:${reason}`)
|
||||
|
||||
Reference in New Issue
Block a user