Browse Source

版本1.0.39 2023-12-11 ljd

1、修复了登录页面报错问题
master
xiaohei 1 year ago
parent
commit
61d71d87a1
4 changed files with 5 additions and 3 deletions
  1. +1
    -0
      app.js
  2. +1
    -1
      pages/login/login.js
  3. +2
    -1
      pagesA/facepeople/facepeople.js
  4. +1
    -1
      pagesA/facepeople/facepeople.wxml

+ 1
- 0
app.js View File

@ -9,6 +9,7 @@ const plugin = requirePlugin("myPlugin")
App({
onLaunch() {
this.globalData.sysinfo = wx.getSystemInfoSync()
// wx885b65d99da00084
plugin.init('wx20de9fe5943934a1', '458f9df0-3405-66a9-1cdb-49d5f4197e6a')
.then(function(res){
console.log('res', res)


+ 1
- 1
pages/login/login.js View File

@ -171,7 +171,7 @@ Page({
wx.setStorageSync('password', this.data.password)
wx.setStorageSync('username', this.data.username)
wx.setStorageSync('checked', this.data.checked)
} else {
} else {
wx.removeStorageSync('password')
wx.removeStorageSync('username')
wx.removeStorageSync('checked')


+ 2
- 1
pagesA/facepeople/facepeople.js View File

@ -155,12 +155,13 @@ Page({
pageNum: 0,
pageSize: 0,
q: JSON.stringify({
// cardId: this.data.personLi.cardId,
cardId: '1444',
deviceNum: this.data.deviceinfo.deviceNum,
types: "0",
inStatus: '0,1,702'
})
}
console.log(data, "data");
WXAPI.getCertificates(data).then(res => {
var dataOne = util.zlib_unzip(res.data)
console.log("人脸", res, dataOne);


+ 1
- 1
pagesA/facepeople/facepeople.wxml View File

@ -17,7 +17,7 @@
<view class="facepeople-list" wx:for="{{faceList}}" wx:key="{{index}}">
<view class="facepeople-item" bindtap="changeshow" data-item="{{item}}">
<view class="facepeople-left">
<van-image round width="100rpx" height="100rpx" src="{{item.facepic}}" />
<!-- <van-image round width="100rpx" height="100rpx" src="{{item.facepic}}" /> -->
<span class="name">{{item.pzname}}</span>
</view>
<view class="facepeople-right">


Loading…
Cancel
Save