提交 fee567ea 编写于 作者: 张敬贤's avatar 张敬贤

Merge branch 'feature/zjx' into 'develop'

Feature/zjx

See merge request !110
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
cityList: [], cityList: [],
countyList:[], countyList:[],
loading: true, loading: true,
result:{} result:null
}; };
}, },
watch: { watch: {
...@@ -73,6 +73,7 @@ export default { ...@@ -73,6 +73,7 @@ export default {
async handler(nv, ov) { async handler(nv, ov) {
console.log('locationAreaCode', nv, ov); console.log('locationAreaCode', nv, ov);
if (nv) { if (nv) {
this.result = store.get('geolocation');
this.provinceList = await this.getProvinceList(); this.provinceList = await this.getProvinceList();
this.cityList = await this.getCityList(nv[0]); this.cityList = await this.getCityList(nv[0]);
this.countyList = await this.getCountyList(nv[1]); this.countyList = await this.getCountyList(nv[1]);
...@@ -86,8 +87,8 @@ export default { ...@@ -86,8 +87,8 @@ export default {
this.$emit('confirm', data); this.$emit('confirm', data);
} }
} }
}, },
deep:true,
immediate:true immediate:true
}, },
projectEquityNo: { projectEquityNo: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册