邓洁: 修改bug

This commit is contained in:
邓洁
2023-12-29 21:54:56 +08:00
parent 253a6ed387
commit 7a2a586d67
7 changed files with 40 additions and 36 deletions

View File

@@ -169,7 +169,11 @@ const getList = () => {
...pageInfo
}).then((res) => {
total.value = res.data.total;
showAddIcon.value = total.value % 6!==0;
if(total.value==0){
}else {
showAddIcon.value = total.value % 6!==0;
}
showFirst.value = total.value / pageInfo.pageSize > 1;
res.data.rows.map(item => {
if (item.tunnelList === null || item.tunnelList.length === 0) {