|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
|
|
|
- computed: mapState(["position", "userData"]),
|
|
|
+ computed: mapState(["position", "userData"]), //vuex.state
|
|
|
|
|
|
onLoad(options) {
|
|
|
//判断设备机型
|
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
- ...mapMutations(["getPosition", "getUserData"]),
|
|
|
+ ...mapMutations(["getPosition", "getUserData"]), //vuex.mutations
|
|
|
|
|
|
//拍照控件变重拍上传控件
|
|
|
takeToReset() {
|
|
|
@@ -300,7 +300,7 @@ export default {
|
|
|
|
|
|
let image = this.$store.state.imageBase;
|
|
|
|
|
|
- this.isShow3 = !this.isShow3;
|
|
|
+ this.isShow3 = !this.isShow3; //关闭提示框
|
|
|
|
|
|
uni.showToast({
|
|
|
title: "人脸匹配中",
|
|
|
@@ -350,7 +350,7 @@ export default {
|
|
|
mask: true,
|
|
|
duration: 1500,
|
|
|
});
|
|
|
- this.isShow3 = !this.isShow3;
|
|
|
+ this.isShow3 = !this.isShow3; //显示提示框
|
|
|
}
|
|
|
},
|
|
|
//人脸采集成功
|