Commit f7358959 authored by jiacheng.mao's avatar jiacheng.mao

ios bug修复

parent 0bd1b1cc
...@@ -250,6 +250,7 @@ export default { ...@@ -250,6 +250,7 @@ export default {
let res = await this.$post(url, param) let res = await this.$post(url, param)
this.hlsPopup.hideLoading() this.hlsPopup.hideLoading()
if (res.result.info.code === 0 && res.result.code !== 700) { if (res.result.info.code === 0 && res.result.code !== 700) {
let authUrl = res.result.info.data.authUrl
cordova.plugins.IdCardPlugin.webSignNotary( cordova.plugins.IdCardPlugin.webSignNotary(
function (suc) { function (suc) {
hlsPopup.showLongCenter(suc.message) hlsPopup.showLongCenter(suc.message)
...@@ -257,7 +258,7 @@ export default { ...@@ -257,7 +258,7 @@ export default {
function (reason) { function (reason) {
hlsPopup.showLongCenter('错误信息:' + '【' + reason.code + '】' + reason.message) hlsPopup.showLongCenter('错误信息:' + '【' + reason.code + '】' + reason.message)
}, },
res.result.info.data.authUrl authUrl
) )
} else if (res.result.code === 700) { } else if (res.result.code === 700) {
hlsPopup.showLongCenter(res.result.msg) hlsPopup.showLongCenter(res.result.msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment