Ver Fonte

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

Xiao_123 há 11 meses atrás
pai
commit
00024b29e1

+ 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) {