Commit 0eb46201 by 匡雅琴

基本信息省市接口替换回显问题解决

1 parent 45f2847f
...@@ -62,7 +62,9 @@ export default { ...@@ -62,7 +62,9 @@ export default {
districtSearch.search('中国', (status, result) => { districtSearch.search('中国', (status, result) => {
this.AllData = result.districtList[0].districtList this.AllData = result.districtList[0].districtList
}) })
console.log(this.AllData)
}) })
console.log(this.AllData)
if (provinceName) { if (provinceName) {
this.AllData.map(item => { this.AllData.map(item => {
if (item.name.indexOf(provinceName) != -1) { if (item.name.indexOf(provinceName) != -1) {
......
...@@ -84,6 +84,7 @@ export default { ...@@ -84,6 +84,7 @@ export default {
mounted() { mounted() {
// this.brandList() // this.brandList()
this.getUserInfo() this.getUserInfo()
this.$refs.provinceForm.mapInit()
}, },
methods: { methods: {
async brandList() { async brandList() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!