Commit 7694bfad authored by dcy's avatar dcy

详情页面 国家为undefind时接口报错,修复

parent 918c0b37
...@@ -446,7 +446,7 @@ export default { ...@@ -446,7 +446,7 @@ export default {
this.customerContacts = r.data this.customerContacts = r.data
}) })
getCountry(this.customer.country).then(r => { getCountry(this.customer.country ? this.customer.country : 0 ).then(r => {
this.country = r.data.nameZh this.country = r.data.nameZh
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment