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

This commit is contained in:
sin 2019-04-11 21:19:00 +08:00
parent b807a63966
commit 70e21f9194

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;
}
})
//