Browse Source

fix: 一键绑定后参数处理问题

cuiyalong 2 years ago
parent
commit
a488e6cc0c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/web/staticres/common-module/account/js/fast-bind.js

+ 3 - 0
src/web/staticres/common-module/account/js/fast-bind.js

@@ -86,6 +86,9 @@ if (utils.$envs.inApp) {
       },
       doPhoneFastLoginSuccess: function (r) {
         if (r && r.data) {
+          if (r.data.token) {
+            vm.token = r.data.token || ''
+          }
           vm.bindPhoneSuccess(r.data.state)
         }
       },