节点链路:分页bug修复

This commit is contained in:
高云鹏 2024-12-05 12:02:50 +08:00
parent 37e586a976
commit 2542150c4f

View File

@ -121,6 +121,7 @@
background background
:pager-count="7" :pager-count="7"
layout="prev, pager, next, jumper,sizes,total" layout="prev, pager, next, jumper,sizes,total"
@change="changePage"
></el-pagination> ></el-pagination>
</div> </div>
</template> </template>
@ -503,6 +504,10 @@ const paginationOptions = reactive({
pageSizes: [20, 50, 100], pageSizes: [20, 50, 100],
}) })
const changePage = ()=>{
getLinkData(clickTreeData.value!.id!)
}
const getLinkData = (nodeId: string, linkName?: string) => { const getLinkData = (nodeId: string, linkName?: string) => {
getLinkListReq({ nodeId, linkName, pageNum: paginationOptions.current, pageSize: paginationOptions.pageSize }) getLinkListReq({ nodeId, linkName, pageNum: paginationOptions.current, pageSize: paginationOptions.pageSize })
.then((res) => { .then((res) => {