소스 검색

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

cuiyalong 2 년 전
부모
커밋
d4ff59eb7e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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

@@ -15,6 +15,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)
         }
       },