能力云图bug
This commit is contained in:
parent
2905416d07
commit
227eb72670
|
@ -393,15 +393,14 @@
|
|||
//组件服务数量接口
|
||||
const NumberOfComponentServices = () => {
|
||||
assemblerBaseStatic().then((res) => {
|
||||
snum.value[0].num = res.data.data[0].amount
|
||||
res.data.data.map((item, index) => {
|
||||
if (index != 0) {
|
||||
servicesSnum.value.map((servicesSnumitem, servicesSnumindex) => {
|
||||
if (servicesSnumitem.type == item.type) {
|
||||
servicesSnum.value[servicesSnumindex].amount = item.amount
|
||||
} else if (item.type == '上架总数') {
|
||||
snum.value[0].num = item.amount
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue