返回评价数据处理错误修复
This commit is contained in:
@@ -64,7 +64,7 @@ export default {
|
||||
params: {bizId}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.detail = res.data
|
||||
this.detail = res.data?.[0] || {}
|
||||
this.$emit("update:info", {...res.data, rateText: this.rateTexts?.[this.detail.score - 1] || ""})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user