(index)
| 1989 | this.totalPage = Math.ceil(total / pageSize) |
| 1990 | }, |
| 1991 | changePage(index) { |
| 1992 | this.changeBluePrintConfig(this.config) |
| 1993 | vm.changeLinkTempalte(this.link, index + 1) |
| 1994 | this.currentPage = index |
| 1995 | } |
| 1996 | }, |
| 1997 | template: `<ul class="pagination full" > |
| 1998 | <li :style="{backgroundColor:(currentPage == index)?option.activeBgColor:option.bgColor}" :class="{active:currentPage === index}" v-for="(item,index) in totalPage" :key="index" @click="changePage(index)"/> |
nothing calls this directly
no outgoing calls
no test coverage detected