This commit is contained in:
2026-02-01 09:49:01 +08:00
parent 0aebee32c8
commit d02fc3a26c
6 changed files with 55 additions and 100 deletions

View File

@@ -128,8 +128,9 @@
async _getTaskBucketGroupInfo () {
try {
let res = await getTaskBucketGroupInfo(this.val1)
if (res && res.data.length > 0) {
this.dataList = [...res.data]
if (res) {
this.dataList = [...res.data.row]
console.log(this.dataList, 'dataList')
this.num = this.dataList.reduce((sum, item) => sum + Number(item.qty), 0)
} else {
this.dataList = []