* fix: #101

* 修复祈愿分析链接错误问题
This commit is contained in:
echo 2023-05-28 04:52:44 +08:00 committed by GitHub
parent 109ff74a7c
commit ea5e451b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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