提交 a79488a6ff0d9850c62afdca09043807ed0b2fa3

作者 guomingshu
1 个父辈 ee1fee1c

feat: fix bug

... ... @@ -5,13 +5,13 @@ module.exports = (vm) => {
5 5 /* config 为默认全局配置*/
6 6
7 7 // 测试环境
8   - config.baseURL = "http://47.110.250.177:8000";
  8 + // config.baseURL = "http://47.110.250.177:8000";
9 9
10 10 // 预生产环境
11 11 // config.baseURL = "https://api-isxpre.workai.com.cn";
12 12
13 13 // 线上环境
14   - // config.baseURL = "https://api-isx.workai.com.cn";
  14 + config.baseURL = "https://api-isx.workai.com.cn";
15 15
16 16 config.header = {
17 17 // 'content-type': 'xxx'
... ...
... ... @@ -18,7 +18,7 @@
18 18 <view class="btn button_warp">
19 19 <c-button
20 20 type="confirm"
21   - text="微信一键登录"
  21 + text="手机号一键登录"
22 22 :disabled="isDisable"
23 23 openType="getPhoneNumber"
24 24 @getPhoneNumber="getPhoneNumber"
... ...
... ... @@ -79,18 +79,17 @@
79 79 },
80 80
81 81 onLoad() {
82   -
  82 + // this.search.keySearch = '';
  83 + // this.finished = false;
  84 + // this.loading = "loadmore";
  85 + // this.page = 0;
  86 + // this.list = [];
  87 + this._getList();
83 88 },
84 89
85 90 onShow() {
86 91 if (this.hasLogin) {
87   - this.search.keySearch = '';
88   -
89   - this.finished = false;
90   - this.loading = "loadmore";
91   - this.page = 0;
92   - this.list = [];
93   - this._getList();
  92 +
94 93 }
95 94 },
96 95
... ... @@ -142,7 +141,7 @@
142 141
143 142 let params = {};
144 143 params.pageNumber = requestParams.page + 1;
145   - params.pageSize = 5;
  144 + params.pageSize = 10;
146 145
147 146 if (this.keyword) {
148 147 params.keySearch = this.keyword
... ...
注册登录 后发表评论