|
|
@@ -266,7 +266,7 @@ export default {
|
|
|
activated() {
|
|
|
let typeQuery = localStorage.getItem('typeQuery');
|
|
|
if(this.latestUpdateTime!=null && typeQuery == 1){
|
|
|
- this.getListTotalFn();
|
|
|
+ this.getListTotalFn();
|
|
|
}else{
|
|
|
setTimeout(() => {
|
|
|
this.onSearch();
|
|
|
@@ -435,7 +435,9 @@ export default {
|
|
|
loading1.clear();
|
|
|
if (res.code == 200) {
|
|
|
this.loading = false;
|
|
|
- this.latestUpdateTime = res.dataTime;
|
|
|
+ if(this.pageNum == 1){
|
|
|
+ this.latestUpdateTime = res.dataTime;
|
|
|
+ }
|
|
|
this.list = this.list.concat(res.data);
|
|
|
if (this.list.length >= res.total) {
|
|
|
this.finished = true;
|