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