修复退出调试自动删除调试日志目录

This commit is contained in:
whyour
2023-08-22 22:18:18 +08:00
parent a8174e89be
commit 40e8041401
11 changed files with 36 additions and 23 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ const DependenceLogModal = ({
) {
const log = (data.log || []).join('') as string;
setValue(log);
setExecuting(!log.includes(intl.get('结束时间')));
setIsRemoveFailed(log.includes(intl.get('删除失败')));
setExecuting(!log.includes('结束时间'));
setIsRemoveFailed(log.includes('删除失败'));
}
})
.finally(() => {
+1 -1
View File
@@ -130,7 +130,7 @@ const DependenceModal = ({
>
<Input.TextArea
rows={4}
autoSize={true}
autoSize={{ minRows: 1, maxRows: 5 }}
placeholder={intl.get('请输入依赖名称')}
/>
</Form.Item>