style: 27333 类型跟进
This commit is contained in:
1 parent
8db3b5d82d
commit
e5e8fb3d9b
21 files changed
+84
-627
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user