mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-29 07:56:06 +08:00
fix: 🐛 修复新建订阅文件后缀剪切板匹配问题
This commit is contained in:
parent
ba44b6b919
commit
63261ee0e7
|
@ -200,10 +200,11 @@ const SubscriptionModal = ({
|
|||
blacklist,
|
||||
dependences,
|
||||
branch,
|
||||
extensions,
|
||||
...extensionsArr
|
||||
] = text
|
||||
.split(' ')
|
||||
.map((x) => x.trim().replace(/\"/g, '').replace(/\'/, ''));
|
||||
.map((x: string) => x.trim().replace(/\"/g, '').replace(/\'/, ''));
|
||||
const extensions = extensionsArr.join(' ');
|
||||
const _type =
|
||||
type === 'raw'
|
||||
? 'file'
|
||||
|
|
Loading…
Reference in New Issue
Block a user