Skip to content

Commit

Permalink
[FIX]修复首页展示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Exrick committed May 22, 2018
1 parent 94c6d82 commit ca0b847
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/member/*': {
target: 'http://127.0.0.1:7777' // 请求本地 需要xmall后台项目 默认127.0.0.1:7777
target: 'http://127.0.0.1:8888' // 请求本地 需要xmall后台项目 默认127.0.0.1:7777
},
'/goods/*': {
target: 'http://127.0.0.1:7777' // 请求本地 需要xmall后台项目 默认127.0.0.1:7777
target: 'http://127.0.0.1:8888' // 请求本地 需要xmall后台项目 默认127.0.0.1:7777
}
},
// CSS Sourcemaps off by default because relative paths are "buggy"
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="description" content="XMall开源电商商城 作者Exrick">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="wap-font-scale" content="no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> -->
<link rel="shortcut icon " type="images/x-icon" href="/static/images/M.png">
</head>
<!-- <script src="https://cdn.bootcss.com/vue/2.5.3/vue.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/page/Home/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<img v-lazy="iitem.picUrl">
<a class="cover-link"></a>
</div>
<mall-goods :msg="iitem" v-for="(iitem,j) in item.panelContents" :key="j+'key'" v-if="iitem.type != 2"></mall-goods>
<mall-goods :msg="iitem" v-for="(iitem,j) in item.panelContents" :key="j+'key'" v-if="iitem.type != 2 && iitem.type != 3"></mall-goods>
</div>
</y-shelf>
</section>
Expand Down

0 comments on commit ca0b847

Please sign in to comment.