Browse Source

代码

master
Dread 4 years ago
parent
commit
f7ffbc862a
  1. 81
      pages/menu/setting/index.vue
  2. BIN
      unpackage/cache/apk/__UNI__1ECBEE1_cm.apk
  3. 2
      unpackage/cache/apk/apkurl
  4. 2
      unpackage/cache/apk/cmManifestCache.json
  5. 18
      unpackage/cache/wgt/__UNI__1ECBEE1/app-service.js
  6. 2
      unpackage/cache/wgt/__UNI__1ECBEE1/app-view.js
  7. 18
      unpackage/dist/build/app-plus/app-service.js
  8. 2
      unpackage/dist/build/app-plus/app-view.js
  9. 4
      unpackage/dist/dev/app-plus/app-service.js
  10. BIN
      unpackage/release/apk/bitcooo (3).apk

81
pages/menu/setting/index.vue

@ -208,48 +208,45 @@
that.fingerSuccess = true;
that.show = false;
}, function(e) {
switch (e.code) {
case e.AUTHENTICATE_MISMATCH:
plus.nativeUI.toast(that.$t('index').Fingerprintmatchingfailed);
uni.setStorageSync('fingerPass', false)
that.showFinger = false;
that.fingerFail = true;
that.checked = false
break;
case e.AUTHENTICATE_OVERLIMIT:
plus.nativeUI.closeWaiting(); //Android
plus.nativeUI.alert(
'The number of fingerprint identification failures exceeds the limit. Please use other methods for authentication'
);
uni.setStorageSync('fingerPass', false)
console.log(that.showFinger, 454545)
that.showFinger = false;
that.fingerFail = true;
that.checked = false
console.log(that.fingerFail, 454545)
break;
case e.CANCEL:
plus.nativeUI.toast(that.$t('index').Recognitioncancelled);
uni.setStorageSync('fingerPass', false)
console.log(that.showFinger, 454545)
that.showFinger = false;
that.checked = false
that.fingerFail = true;
that.show = false;
console.log(that.fingerFail, 454545)
break;
default:
plus.nativeUI.closeWaiting(); //Android
uni.setStorageSync('fingerPass', false)
console.log(that.showFinger, 454545)
that.showFinger = false;
that.checked = false
that.fingerFail = true;
console.log(that.fingerFail, 454545)
plus.nativeUI.alert(that.$t('index').Fingerprintidentificationfailed);
break;
}
});
//
switch (e.code) {
case e.AUTHENTICATE_MISMATCH:
plus.nativeUI.toast(that.$t('index').Fingerprintmatchingfailed);
uni.setStorageSync('fingerPass',false)
that.showFinger=false;
that.fingerFail=true;
that.checked=false
that.show=false;
break;
case e.AUTHENTICATE_OVERLIMIT:
plus.nativeUI.closeWaiting(); //Android
plus.nativeUI.alert(that.$t('index').Thenumberoffingerprint);
uni.setStorageSync('fingerPass',false)
that.showFinger=false;
that.fingerFail=true;
that.checked=false
that.show=false;
break;
case e.CANCEL:
plus.nativeUI.toast(that.$t('index').Recognitioncancelled);
uni.setStorageSync('fingerPass',false)
that.showFinger=false;
that.checked=false
that.fingerFail=true;
that.show=false;
break;
default:
plus.nativeUI.closeWaiting(); //Android
uni.setStorageSync('fingerPass',false)
console.log(that.showFinger,454545)
that.showFinger=false;
that.checked=false
that.show=false;
that.fingerFail=true;
plus.nativeUI.alert(that.$t('index').Fingerprintidentificationfailed);
break;
}
});
// Android
if ('Android' == plus.os.name) {
this.show = true;

BIN
unpackage/cache/apk/__UNI__1ECBEE1_cm.apk

Binary file not shown.

2
unpackage/cache/apk/apkurl

@ -1 +1 @@
https://ide.dcloud.net.cn/build/download/1e6661a0-48e7-11ec-974c-c164643a780f
https://ide.dcloud.net.cn/build/download/6a407810-491b-11ec-9656-894817967f96

2
unpackage/cache/apk/cmManifestCache.json

File diff suppressed because one or more lines are too long

18
unpackage/cache/wgt/__UNI__1ECBEE1/app-service.js

File diff suppressed because one or more lines are too long

2
unpackage/cache/wgt/__UNI__1ECBEE1/app-view.js

File diff suppressed because one or more lines are too long

18
unpackage/dist/build/app-plus/app-service.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/app-plus/app-view.js

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/app-plus/app-service.js

File diff suppressed because one or more lines are too long

BIN
unpackage/release/apk/bitcooo (3).apk

Binary file not shown.
Loading…
Cancel
Save