- 优化,如果从地址里面选择地址了,就不请求了
This commit is contained in:
parent
b807a63966
commit
70e21f9194
|
@ -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;
|
||||
}
|
||||
})
|
||||
// 处理来源
|
||||
|
|
Loading…
Reference in New Issue