Ver código fonte

注册手机号问题

zweizhao 7 anos atrás
pai
commit
0e2462ed14
1 arquivos alterados com 1 adições e 1 exclusões
  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()