yangan
2024-06-21 7f02619d92353f989cccf29fd58321d4f13500bb
pages/login/insideUser.vue
@@ -23,7 +23,7 @@
         </view>
         <view class="loginbutton">
            <u-button type="primary"
               text="普通登录"
               text="密码登录"
               @click="gologin()"
               :loading="submitLoading">
            </u-button>
@@ -66,7 +66,7 @@
            redirectLogin()
         },
         async  identifyResult(result){
             if(result==true){
             if(result=='true'){
                this.$u.toast('人脸检测完成');
             //登录接口
             uni.showLoading({
@@ -124,7 +124,7 @@
                });
             }else{
                this.submitLoading = false
                this.$u.toast('登录失败!');
                this.$u.toast('人脸检测失败!');
             }
         },
         changeInput2(e){
@@ -136,10 +136,6 @@
         ...mapMutations(['setUserTabbar']),
         //登录
         async submit() {
            uni.showLoading({
               title: '登录中...'
            });
            //表单校验
            if (this.username.length === 0) {
               this.$u.toast('请输入账号');
               return;