节点链路:分页bug修复
This commit is contained in:
parent
37e586a976
commit
2542150c4f
@ -121,6 +121,7 @@
|
||||
background
|
||||
:pager-count="7"
|
||||
layout="prev, pager, next, jumper,sizes,total"
|
||||
@change="changePage"
|
||||
></el-pagination>
|
||||
</div>
|
||||
</template>
|
||||
@ -503,6 +504,10 @@ const paginationOptions = reactive({
|
||||
pageSizes: [20, 50, 100],
|
||||
})
|
||||
|
||||
const changePage = ()=>{
|
||||
getLinkData(clickTreeData.value!.id!)
|
||||
}
|
||||
|
||||
const getLinkData = (nodeId: string, linkName?: string) => {
|
||||
getLinkListReq({ nodeId, linkName, pageNum: paginationOptions.current, pageSize: paginationOptions.pageSize })
|
||||
.then((res) => {
|
||||
|
Loading…
Reference in New Issue
Block a user