mirror of
https://github.com/Le-niao/Yunzai-Bot.git
synced 2025-01-08 12:47:33 +08:00
避免 region 为第一个参数而获取失败
This commit is contained in:
parent
e3741a5de8
commit
633b24a6d6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user