فهرست منبع

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=';

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است