Commit 0eb46201 by 匡雅琴

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

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