Commit 681683d8 authored by caimeng's avatar caimeng

生产回归

parent 5f5e8ed0
......@@ -142,6 +142,14 @@
goOut(){
// this.userHidden=false
this.outHidden=false
const pages = getCurrentPages();
console.log(pages.length,'写')
pages.forEach(page=>{
console.log(page.route,'路由信息')
})
},
cancelAccount(){
//注销账号
......
......@@ -88,15 +88,13 @@ export default {
}
},
onUnload() {
uni.$off('loadingSubnvue'); //移除监听配置的原生子窗体
console.log('onUnload=+++++++++++')
const wv = this.$scope.$getAppWebview();
console.log(wv,'WebView ')
wv.clear()
wv.close()
},
methods: {
subnvue_open() {
this.subNVue = uni.getSubNVueById('loadingSubnvue'); //通过id获取nvue子窗体
this.subNVue.show();
},
handleMessage(e) {
const data = e.detail.data;
if (!data || data.lenght === 0) {
......@@ -446,19 +444,19 @@ export default {
},
// 活体认证
async uniFace(config) {
console.log(config,'config')
uni.setStorageSync('userFData',config)
console.log(config, 'config')
uni.setStorageSync('userFData', config)
// 检查相机权限
// if (!this.CheckCamera()) return;
const that = this;
try{
CheckUniFace((data)=>{
try {
CheckUniFace((data) => {
that.GetWebView().evalJS(`receiveUniFace('${JSON.stringify(data)}')`)
})
}catch(err){
} catch (err) {
console.log(err, '获取人脸失败')
}
},
// 获取设备信息
async GetDeviceInfo() {
......
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