Przeglądaj źródła

注册手机号问题

zweizhao 7 lat temu
rodzic
commit
0e2462ed14
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/user/register.vue

+ 1 - 1
pages/user/register.vue

@@ -258,7 +258,7 @@ export default {
           })
         } else {
           let res = await this.$post('/api/user/sendMobileAuthCode', {
-            mobile,
+            mobile: encodeURIComponent(area + '-' + mobile),
           })
           if(res) {
             run()