Commit af5163b2 by 匡雅琴

回显

1 parent 92aaf098
...@@ -182,9 +182,9 @@ export default { ...@@ -182,9 +182,9 @@ export default {
this.provinceForm.cityCode = itm.adcode this.provinceForm.cityCode = itm.adcode
this.provinceForm.cityName = itm.name this.provinceForm.cityName = itm.name
this.townList = itm.districts this.townList = itm.districts
if (town) { if (townName) {
this.townList.map(itmx => { this.townList.map(itmx => {
if (itmx.name.indexOf(town) != -1) { if (itmx.name.indexOf(townName) != -1) {
this.provinceForm.townCode = itmx.adcode this.provinceForm.townCode = itmx.adcode
this.provinceForm.townName = itmx.name this.provinceForm.townName = itmx.name
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!