소스 검색

账号密码登录参加添加account参数

Xiao_123 11 달 전
부모
커밋
00024b29e1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      sheep/components/s-auth-modal/components/account-login.vue

+ 2 - 1
sheep/components/s-auth-modal/components/account-login.vue

@@ -69,7 +69,7 @@
   const state = reactive({
     model: {
       phone: '13229740091', // 账号
-      password: 'Citu123', // 密码
+      password: 'Citu123456', // 密码
     },
     rules: {
       phone: mobile,
@@ -86,6 +86,7 @@
         console.log('error: ', error);
       });
     if (!validate) return;
+    state.model.account = state.model.phone;
 
     // 同意协议
     if (!props.agreeStatus) {