Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
liupeijun committed Nov 20, 2017
1 parent cfc9231 commit 504dadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions haoshiqi/src/components/tuan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,9 @@
display: flex;
width: 100%;
margin-top:10px;
flex-wrap: wrap;
li{
-webkit-box-flex: 1;
-webkit-flex:1;
flex:1;
width:20%;
text-align:center;
padding:10px;
background:#fff;
Expand Down
5 changes: 2 additions & 3 deletions haoshiqi/src/components/tuancore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
computed:{
loading(){
return this.load; // loading 是一个计算属性, 只要依赖的值发生改变, 那么计算属性loading也会改变
}
},
watch:{
Expand All @@ -52,6 +50,7 @@
currentpage:0,
isEnd:false,
totalPage:0,
loading:this.load
}
},
Expand Down

0 comments on commit 504dadf

Please sign in to comment.