style: 27333 类型跟进

This commit is contained in:
手瓜一十雪 committed 2024-08-26 01:24:22 +08:00
1 parent 8db3b5d82d
commit e5e8fb3d9b
21 files changed
+84 -627

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ export class NTQQWebApi {
let resJson;
try {
const res = await RequestUtil.HttpGetText(url, 'GET', '', { 'Cookie': this.cookieToString(cookieObject) });
let match = /window\.__INITIAL_STATE__=(.*?);/.exec(res);
const match = /window\.__INITIAL_STATE__=(.*?);/.exec(res);
if (match) {
resJson = JSON.parse(match[1].trim());
}