change
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user