[FIX]【人脸识别缺陷】电投人脸识别分享到微信,点击分享链接,提示"参数缺少"

This commit is contained in:
yuweiqi
2020-05-28 14:11:57 +08:00
parent 978591f588
commit a54ed09b25

View File

@@ -140,7 +140,7 @@
</div> </div>
</div> </div>
<p class="start" v-if="airSign != '1'">点击开始分享进行相关操作</p> <p class="start" v-if="airSign != '1'">点击开始分享进行相关操作</p>
<div v-if="!isInvalid" class="flex justify-content-a mt20"> <div v-if="!isInvalid && weixinFace" class="flex justify-content-a mt20">
<van-button <van-button
type="danger" type="danger"
size="normal" size="normal"
@@ -273,6 +273,7 @@ export default {
insured: 0, insured: 0,
weixin: 0 weixin: 0
}, },
weixinFace: false, //微信端人脸识别按钮是否可用
customerMobile: '', customerMobile: '',
//保险产品名称 //保险产品名称
riskName: '', riskName: '',
@@ -447,7 +448,6 @@ export default {
}, },
// 获取消息和阅读状态 // 获取消息和阅读状态
realPeopelCheck() { realPeopelCheck() {
let that = this
this.$toast.loading({ this.$toast.loading({
// 持续展示 toast // 持续展示 toast
duration: 0, duration: 0,
@@ -1084,6 +1084,7 @@ export default {
} }
}) })
} }
that.weixinFace = true
resolve('success') resolve('success')
} }
}) })
@@ -1286,8 +1287,8 @@ export default {
// UploadImageFile: UploadImageFile, // UploadImageFile: UploadImageFile,
[CollapseItem.name]: CollapseItem, [CollapseItem.name]: CollapseItem,
[Dialog.name]: Dialog, [Dialog.name]: Dialog,
[Field.name]: Field, [IndexBar.name]: IndexBar,
[IndexBar.name]: IndexBar [Field.name]: Field
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = '' document.body.style.backgroundColor = ''