赋值page1
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<view class="cur_two" @click="tapClick(index)">已关注</view>
|
||||
<!-- <view class="cur" @click="tapClick(index)" v-else = "item.about == 2">未关注</view> -->
|
||||
</view>
|
||||
<u-loadmore :status="status" icon-type="iconType" :load-text="loadText" />
|
||||
<u-loadmore :status="status" icon-type="iconType"/>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
@@ -39,6 +39,10 @@
|
||||
onLoad(){
|
||||
this.snsfriendList()
|
||||
},
|
||||
onShow(){
|
||||
this.page = 1;
|
||||
this.snsfriendList();
|
||||
},
|
||||
methods: {
|
||||
// 点击切换颜色
|
||||
tapClick(index) {
|
||||
|
||||
Reference in New Issue
Block a user