|
|
@@ -120,7 +120,8 @@
|
|
|
methods: {
|
|
|
getInitInfo() {
|
|
|
this.$http.get(`/sale/inquiry/${this.$route.query.id}/info/mobile`).then(res => {
|
|
|
- if (res.data.replies.length === 0 || !res.data.replies[0].price || res.data.replies[0].price === '') {
|
|
|
+ if (res.data.replies.length === 0 || !res.data.replies[0].price) {
|
|
|
+ res.data.replies[0] = res.data.replies[0] || {}
|
|
|
res.data.replies[0].price = ''
|
|
|
}
|
|
|
this.listInfo = res.data
|