更新依赖

This commit is contained in:
lyswhut
2020-05-01 20:14:14 +08:00
parent 3be3b0ca36
commit 9639143893
3 changed files with 48 additions and 130 deletions
+1 -2
View File
@@ -98,7 +98,7 @@ export const xmRequest = (path, params = '') => {
return wait(300).then(() => {
return rendererInvoke('xm_verify_open', 'https:' + resp.body.url).then(x5sec => {
handleSaveToken({ cookies: { x5sec } })
console.log(x5sec)
// console.log(x5sec)
window.globalObj.xm.isShowVerify = false
return Promise.reject(new Error('获取成功'))
}).catch(err => {
@@ -117,7 +117,6 @@ export const xmRequest = (path, params = '') => {
export const closeVerifyModal = async() => {
if (!window.globalObj.xm.isShowVerify) return
console.log('object')
await rendererInvoke('xm_verify_close')
window.globalObj.xm.isShowVerify = false
}