Browse Source

scg:login

honghaitzz11 6 years ago
parent
commit
eb78164846

File diff suppressed because it is too large
+ 0 - 0
www/webapp/scg/asset/js/app.js


File diff suppressed because it is too large
+ 0 - 0
www/webapp/scg/asset/js/app.js.map


File diff suppressed because it is too large
+ 0 - 0
www/webapp/scg/asset/js/manifest.js.map


+ 2 - 1
www/webapp/scg/src/store.js

@@ -39,8 +39,9 @@ export default new Vuex.Store({
       })
       .then(res => {
         // eslint-disable-next-line
+        console.log(res);
         self.userInfo = res;
-        if (self.userInfo.avatar.indexOf('odulcd8g1.bkt.clouddn.com')) {
+        if (self.userInfo.avatar.indexOf('odulcd8g1.bkt.clouddn.com') > -1) {
           self.userInfo.avatar = self.userInfo.avatar.replace(/odulcd8g1\.bkt\.clouddn\.com/, 'avatar.yiguanjia.me');
         }
       })

Some files were not shown because too many files changed in this diff