Commit adc39beb authored by zhengke's avatar zhengke

修改

parent 1a588bc7
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
} }
); );
}, },
lower(e) { lowerTwo(e) {
if (this.msg.pageIndex < this.page_count) { if (this.msg.pageIndex < this.page_count) {
this.msg.pageIndex++; this.msg.pageIndex++;
this.status = "loading"; this.status = "loading";
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
:scroll-y="true" :scroll-y="true"
:enable-back-to-top="true" :enable-back-to-top="true"
:enable-flex="true" :enable-flex="true"
@scrolltolower="lowerTwo" @scrolltolower="lower"
:style="{ height: '100%' }" :style="{ height: '100%' }"
> >
<view class="userList" v-for="(item, index) in dataList"> <view class="userList" v-for="(item, index) in dataList">
...@@ -179,7 +179,6 @@ export default { ...@@ -179,7 +179,6 @@ export default {
this.getList(); this.getList();
}, },
getList(type) { getList(type) {
this.dataList = [];
uni.showLoading({ uni.showLoading({
title: "加载中", title: "加载中",
}); });
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
:scroll-y="true" :scroll-y="true"
:enable-back-to-top="true" :enable-back-to-top="true"
:enable-flex="true" :enable-flex="true"
@scrolltolower="lowerTwo" @scrolltolower="lower"
:style="{ height: '100%' }" :style="{ height: '100%' }"
> >
<view class="userList" v-for="(item, index) in dataList"> <view class="userList" v-for="(item, index) in dataList">
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
:scroll-y="true" :scroll-y="true"
:enable-back-to-top="true" :enable-back-to-top="true"
:enable-flex="true" :enable-flex="true"
@scrolltolower="lower" @scrolltolower="lowerTwo"
:style="{ height: '100%' }" :style="{ height: '100%' }"
> >
<view class="userList" v-for="(item, index) in dataList"> <view class="userList" v-for="(item, index) in dataList">
...@@ -411,6 +411,7 @@ export default { ...@@ -411,6 +411,7 @@ export default {
} }
//分销商 //分销商
if (index == 1) { if (index == 1) {
this.dsMsg.pageIndex = 1;
this.getDistriData(); this.getDistriData();
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment