代码更新

This commit is contained in:
GaoHao
2025-03-10 09:14:57 +08:00
parent 4f65b08c06
commit 490c513f48
48 changed files with 1162 additions and 537 deletions

View File

@@ -107,6 +107,10 @@
const res = await getProdGroupPage(pageData.query)
pageData.list = res.records
pageData.totalElements = res.totalRow
if(res.records.length <= 0&&res.totalPage>1) {
pageData.query.page = res.totalPage
getList()
}
}
/**
@@ -231,7 +235,9 @@
if (res.confirm) {
delProdGroup(pageData.list[index].id).then(res => {
infoBox.showToast('删除成功')
getList()
setTimeout(()=>{
getList()
},1500)
})
}
},