|
@@ -136,11 +136,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
async getInfo () {
|
|
async getInfo () {
|
|
|
const { productItem } = this
|
|
const { productItem } = this
|
|
|
- const { projectId, projectName } = productItem
|
|
|
|
|
- if (!projectId) return
|
|
|
|
|
|
|
+ const { otaProductId, projectName } = productItem
|
|
|
|
|
+ if (!otaProductId) return
|
|
|
this.productInfo = []
|
|
this.productInfo = []
|
|
|
this.loading = true
|
|
this.loading = true
|
|
|
- const res = await getOtaProductById({ projectId, projectName })
|
|
|
|
|
|
|
+ const res = await getOtaProductById({ productId: otaProductId, projectName })
|
|
|
this.productInfo = res.data || {}
|
|
this.productInfo = res.data || {}
|
|
|
this.loading = false
|
|
this.loading = false
|
|
|
}
|
|
}
|