修复任务详情日志访问,修复新建订阅粘贴repo命令

This commit is contained in:
whyour
2022-05-28 17:36:41 +08:00
parent b3ed824b2e
commit 31ff0476a6
4 changed files with 17 additions and 8 deletions
+4 -1
View File
@@ -195,7 +195,9 @@ const SubscriptionModal = ({
dependences,
branch,
extensions,
] = text.split(' ').map((x) => x.trim());
] = text
.split(' ')
.map((x) => x.trim().replace(/\"/g, '').replace(/\'/, ''));
form.setFieldsValue({
type:
type === 'raw'
@@ -210,6 +212,7 @@ const SubscriptionModal = ({
branch,
extensions,
});
form.validateFields(['url']);
}
}, []);