地址的更改

This commit is contained in:
952108534@qq.com
2022-01-21 15:30:50 +08:00
parent e730b1210b
commit 7f9a290662
5 changed files with 176 additions and 72 deletions

View File

@@ -63,7 +63,11 @@ export default {
{
defaultValues = this.defaultValues;
this.onConfirm(defaultValues);
}
}
else{
this.defaultValues = defaultValues;
}
//Initilizing end
},
pickValue(pickId,pickName){
@@ -233,6 +237,16 @@ export default {
popAddress() {
this.show=true;
let _self=this;
if(this.defaultValues && this.defaultValues.length>0)
{
this.defaultValues.forEach(function(ele,index){
let tmpPointer=parseInt(_self.inArray(ele,_self.columns[index].values));
if(tmpPointer)
{
_self.columns[index].defaultIndex = tmpPointer;
}
});
}
//mobile
//const picker = this.selectComponent('.ts-area-picker-mobile-component');