PMCORE-3263
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
</div>
|
||||
|
||||
<div class="pm-vue-card-view-footer">
|
||||
<a @click="viewMore" class="list-group-item">View more</a>
|
||||
<a @click="viewMore" class="list-group-item">{{loadMore}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -51,6 +51,7 @@ export default {
|
||||
props: ["options"],
|
||||
data() {
|
||||
return {
|
||||
loadMore: this.$t("ID_LOAD_MORE")
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -39,6 +39,8 @@ export default {
|
||||
if (data.data && data.data.length != 0) {
|
||||
that.data = that.data.concat(data.data);
|
||||
that.config.page += 1;
|
||||
} else {
|
||||
that.loadMore = that.$t("ID_NO_MORE_INFORMATION");
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user