mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
add error message
This commit is contained in:
@@ -119,6 +119,8 @@ export default {
|
||||
|
||||
if (error.notSupported) {
|
||||
self.$toast('This device does not support Face ID/Touch ID');
|
||||
} else if (error.name === 'NotAllowedError') {
|
||||
self.$toast('User has canceled authentication');
|
||||
} else if (error.invalid) {
|
||||
self.$toast('Failed to enable Face ID/Touch ID');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user