@@ -331,6 +331,7 @@
changeitem(x) {
this.item = x
this.page = 0
+ this.currentPage = 1
this.list = []
this.getList()
},
@@ -363,9 +364,7 @@
console.log("cancel");
});
- clickLancer({
- id
- }) {
+ clickLancer({ id }) {
this.$router.push(baseUrl + `/cert/type/${id}`);
btnDisabled(item) {
@@ -418,17 +417,9 @@
break
default:
list = res.data.topics
- console.log(this.list)
this.listCount = (res.data.topics_count + 1 - 1) || 0
}
-
- if (!list.length) {
- this.noMore = true;
- return;
- } else {
- let list2 = this.list
- this.list = list2.concat(list)
- }
+ this.list = list
canApply(item) {