소스 검색

Merge branch 'master' of git.oschina.net:yiguanjia/php

north 7 년 전
부모
커밋
1d80c5affb

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
www/webapp/housekeeping/home/static/css/app.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
www/webapp/housekeeping/home/static/js/manifest.js.map


+ 7 - 2
www/webapp/housekeeping/src/components/Home.vue

@@ -138,10 +138,15 @@
               user_id: config.user_id
             }, function (res) {
               config.userInfo = res.data.data.user_info;
+
               // console.log(res.data.data)
-              if (config.userInfo.length === 0) {
+              // if (config.userInfo.length === 0) {
+              //   self.registered = true;
+              //   // self.$router.push({path: '/userInfo'})
+              // }
+              
+              if(config.userInfo.mobile == undefined){
                 self.registered = true;
-                // self.$router.push({path: '/userInfo'})
               }
             })
           } else {

+ 2 - 2
www/webapp/housekeeping/src/config/globalVariables.js

@@ -63,9 +63,9 @@ if (locationHref.indexOf('http://localhost:80') > -1) {
   // userId = '5823fe6ca84ea02e3e8b45cb'
   // 邓涛
   // userId = '5a5eeaf3fb48a770708b456b' // 已注册
-  // userId = '5870c935a84ea0417e8b456f'  // 未注册
+  userId = '57fe2dc59f5160a1048b4591'  // 未注册
   // 家政人员
-  userId = '57fa51649f5160c4048b4948'; // 我喂自己袋盐
+  // userId = '57fa51649f5160c4048b4948'; // 我喂自己袋盐
   // userId = '5823fe35a84ea0c13e8b461c'; // 我喂自己袋盐2
 } else if (locationHref.indexOf('admin.yiguanjiadev.me') > -1) {
   apiPath = 'http://admin.yiguanjiadev.me/index.php?r=';

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.