Commit ea599ed4 authored by cxr's avatar cxr

bug(cxr): 区域现货缺陷

parent 3edf914a
......@@ -22,6 +22,7 @@
v-model:current="page"
simple
:total="total"
@change="pageChange"
>
<template #itemRender="{ type, originalElement }">
<a-button size="small" v-if="type === 'prev'">上一页</a-button>
......@@ -384,6 +385,7 @@
if (res.success) {
peopleData.value = res.data.filter((item) => item.type == 1);
rootData.value = res.data.filter((item) => item.type == 0);
getTableDate();
} else {
peopleData.value = [];
rootData.value = [];
......@@ -397,7 +399,12 @@
},
});
};
//分页
const pageChange = (pageNo: any, pageSize: any) => {
console.log(pageNo, pageSize);
page.value = pageNo;
getTableDate();
};
//过滤搜索
const filterOption = (input: string, option: any) => {
return option.key.toLowerCase().indexOf(input.toLowerCase()) >= 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment