- 优化,如果从地址里面选择地址了,就不请求了

This commit is contained in:
sin 2019-04-11 21:19:00 +08:00
parent b807a63966
commit 70e21f9194
1 changed files with 3 additions and 3 deletions

View File

@ -183,9 +183,9 @@
created() {
//
GetDefaultAddress().then((result) => {
if (result) {
this.type = 'add1'
this.addressData = result
if (!this.addressData.name && result) {
this.type = 'add1';
this.addressData = result;
}
})
//