fix getNumberId
This commit is contained in:
parent
f1607752dd
commit
e8d4874b26
2 changed files with 2 additions and 2 deletions
|
|
@ -1043,7 +1043,7 @@ class Client extends EventEmitter {
|
||||||
|
|
||||||
return await this.pupPage.evaluate(async number => {
|
return await this.pupPage.evaluate(async number => {
|
||||||
const wid = window.Store.WidFactory.createWid(number);
|
const wid = window.Store.WidFactory.createWid(number);
|
||||||
const result = await window.Store.QueryExist(wid);
|
const result = await window.Store.QueryExist.queryWidExists(wid);
|
||||||
if (!result || result.wid === undefined) return null;
|
if (!result || result.wid === undefined) return null;
|
||||||
return result.wid;
|
return result.wid;
|
||||||
}, number);
|
}, number);
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ exports.ExposeStore = (moduleRaidStr) => {
|
||||||
window.Store.MsgKey = window.mR.findModule((module) => module.default && module.default.fromString)[0].default;
|
window.Store.MsgKey = window.mR.findModule((module) => module.default && module.default.fromString)[0].default;
|
||||||
window.Store.MessageInfo = window.mR.findModule('sendQueryMsgInfo')[0];
|
window.Store.MessageInfo = window.mR.findModule('sendQueryMsgInfo')[0];
|
||||||
window.Store.OpaqueData = window.mR.findModule(module => module.default && module.default.createFromData)[0].default;
|
window.Store.OpaqueData = window.mR.findModule(module => module.default && module.default.createFromData)[0].default;
|
||||||
window.Store.QueryExist = window.mR.findModule('queryWidExists')[0].queryExists;
|
window.Store.QueryExist = window.mR.findModule('queryWidExists')[0];
|
||||||
window.Store.QueryProduct = window.mR.findModule('queryProduct')[0];
|
window.Store.QueryProduct = window.mR.findModule('queryProduct')[0];
|
||||||
window.Store.QueryOrder = window.mR.findModule('queryOrder')[0];
|
window.Store.QueryOrder = window.mR.findModule('queryOrder')[0];
|
||||||
window.Store.SendClear = window.mR.findModule('sendClear')[0];
|
window.Store.SendClear = window.mR.findModule('sendClear')[0];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue