更新
This commit is contained in:
parent
301cf33e0c
commit
6ea6144084
@ -48,7 +48,8 @@
|
||||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||
]
|
||||
],
|
||||
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
|
||||
},
|
||||
/* ios打包配置 */
|
||||
"ios" : {
|
||||
|
@ -88,6 +88,12 @@
|
||||
},
|
||||
onLoad() {
|
||||
this.initInfo();
|
||||
this.initLoad();
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
this.initLoad();
|
||||
},
|
||||
onReachBottom() {
|
||||
this.loadList();
|
||||
},
|
||||
methods: {
|
||||
@ -95,6 +101,12 @@
|
||||
let res = await companyShareholderInfo();
|
||||
this.shareholder = res.data;
|
||||
},
|
||||
async initLoad() {
|
||||
this.loadConfig.page = 1;
|
||||
this.loadConfig.status = "loadmore";
|
||||
this.companyList = [];
|
||||
await this.loadList();
|
||||
},
|
||||
async loadList(){
|
||||
if (this.loadConfig.status == "nomore") return;
|
||||
this.loadConfig.status = "loading";
|
||||
@ -108,9 +120,7 @@
|
||||
} else {
|
||||
this.loadConfig.page++;
|
||||
}
|
||||
for (var i = 0; i < 20; i++) {
|
||||
this.list = [...this.list, ...res.data.list];
|
||||
}
|
||||
},
|
||||
navToContract(contract_no) {
|
||||
if (!contract_no) return Toast('暂无合同');
|
||||
|
Loading…
x
Reference in New Issue
Block a user