避免 region 为第一个参数而获取失败

This commit is contained in:
Conard 2023-01-25 15:31:05 +08:00 committed by GitHub
parent e3741a5de8
commit 633b24a6d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ export default class GachaLog extends base {
dealUrl (url) {
// timestamp=1641338980〈=zh-cn 修复链接有奇怪符号
url = url.replace(/〈=/g, '&')
url = url.replace(/〈=/g, '&').split('getGachaLog?')[1]
// 处理参数
let arr = new URLSearchParams(url).entries()