mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 02:14:32 +08:00
修复退出调试自动删除调试日志目录
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -130,7 +130,7 @@ const DependenceModal = ({
|
||||
>
|
||||
<Input.TextArea
|
||||
rows={4}
|
||||
autoSize={true}
|
||||
autoSize={{ minRows: 1, maxRows: 5 }}
|
||||
placeholder={intl.get('请输入依赖名称')}
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
Reference in New Issue
Block a user