mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-11 07:38:45 +08:00
fix:默认只取第一个网盘链接类型为标签
This commit is contained in:
@@ -72,7 +72,7 @@ export class Searcher {
|
|||||||
const matches = text.match(pattern);
|
const matches = text.match(pattern);
|
||||||
if (matches) {
|
if (matches) {
|
||||||
links.push(...matches);
|
links.push(...matches);
|
||||||
cloudType = Object.keys(config.cloudPatterns)[index];
|
if (!cloudType) cloudType = Object.keys(config.cloudPatterns)[index];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user