返回评价数据处理错误修复

This commit is contained in:
aixianling
2023-03-31 11:03:48 +08:00
parent ad4772ce98
commit 22e22185b5

View File

@@ -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] || ""})
}
})