Commit 1a21ed1f authored by wildfirecode13's avatar wildfirecode13

1

parent 0776dd76
...@@ -303,7 +303,7 @@ export const getUserAddress = async (opts = {}) => { ...@@ -303,7 +303,7 @@ export const getUserAddress = async (opts = {}) => {
scopes: 'scope.addressList', scopes: 'scope.addressList',
success: () => { success: () => {
const { addAddress, searchAddress, locateAddress, joinTag } = _opts; const { addAddress, searchAddress, locateAddress, joinTag } = _opts;
if (!my.tb || !my.tb.chooseAddress) { if (!my.tb.chooseAddress) {
reject({ reject({
noSupport: true, noSupport: true,
errorMessage: '当前版本不支持选择收货地址,请升级到最新版本' errorMessage: '当前版本不支持选择收货地址,请升级到最新版本'
...@@ -336,14 +336,10 @@ export const getUserAddress = async (opts = {}) => { ...@@ -336,14 +336,10 @@ export const getUserAddress = async (opts = {}) => {
reject(res); reject(res);
} }
); );
},
fail: err => {
reject(err);
} }
}); });
}); });
}; };
/** /**
* 选择图片 * 选择图片
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment