正在显示
3 个修改的文件
包含
11 行增加
和
12 行删除
| @@ -5,13 +5,13 @@ module.exports = (vm) => { | @@ -5,13 +5,13 @@ module.exports = (vm) => { | ||
| 5 | /* config 为默认全局配置*/ | 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 | // config.baseURL = "https://api-isxpre.workai.com.cn"; | 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 | config.header = { | 16 | config.header = { |
| 17 | // 'content-type': 'xxx' | 17 | // 'content-type': 'xxx' |
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | <view class="btn button_warp"> | 18 | <view class="btn button_warp"> |
| 19 | <c-button | 19 | <c-button |
| 20 | type="confirm" | 20 | type="confirm" |
| 21 | - text="微信一键登录" | 21 | + text="手机号一键登录" |
| 22 | :disabled="isDisable" | 22 | :disabled="isDisable" |
| 23 | openType="getPhoneNumber" | 23 | openType="getPhoneNumber" |
| 24 | @getPhoneNumber="getPhoneNumber" | 24 | @getPhoneNumber="getPhoneNumber" |
| @@ -79,18 +79,17 @@ | @@ -79,18 +79,17 @@ | ||
| 79 | }, | 79 | }, |
| 80 | 80 | ||
| 81 | onLoad() { | 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 | onShow() { | 90 | onShow() { |
| 86 | if (this.hasLogin) { | 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,7 +141,7 @@ | ||
| 142 | 141 | ||
| 143 | let params = {}; | 142 | let params = {}; |
| 144 | params.pageNumber = requestParams.page + 1; | 143 | params.pageNumber = requestParams.page + 1; |
| 145 | - params.pageSize = 5; | 144 | + params.pageSize = 10; |
| 146 | 145 | ||
| 147 | if (this.keyword) { | 146 | if (this.keyword) { |
| 148 | params.keySearch = this.keyword | 147 | params.keySearch = this.keyword |
请
注册
或
登录
后发表评论