Showing
2 changed files
with
3 additions
and
3 deletions
@@ -15,8 +15,8 @@ module.exports = { | @@ -15,8 +15,8 @@ module.exports = { | ||
15 | port: 6004, | 15 | port: 6004, |
16 | siteUrl: '//m.yohoblk.com', | 16 | siteUrl: '//m.yohoblk.com', |
17 | domains: { | 17 | domains: { |
18 | - api: 'http://192.168.102.205:8080/gateway/', | ||
19 | - service: 'http://192.168.102.205:8080/gateway/' | 18 | + api: 'http://devapi.yoho.cn:58078/', |
19 | + service: 'http://devservice.yoho.cn:58077/' | ||
20 | }, | 20 | }, |
21 | subDomains: { | 21 | subDomains: { |
22 | host: '.m.yohoblk.com', | 22 | host: '.m.yohoblk.com', |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | $.ajax({ | 36 | $.ajax({ |
37 | url: '/channel/channel.json' | 37 | url: '/channel/channel.json' |
38 | }).then(res => { | 38 | }).then(res => { |
39 | - if (res.data.length) { | 39 | + if (res.data && res.data.length) { |
40 | const channel = []; | 40 | const channel = []; |
41 | 41 | ||
42 | res.data.forEach(c => { | 42 | res.data.forEach(c => { |
-
Please register or login to post a comment