Commit daabc8c1 authored by zhaofei's avatar zhaofei

s

parent 478622e4
...@@ -111,13 +111,10 @@ Page({ ...@@ -111,13 +111,10 @@ Page({
const { activityId } = app; const { activityId } = app;
const { item } = e.target.dataset; const { item } = e.target.dataset;
const userAddress = await getUserAddress().catch(err => { const userAddress = await getUserAddress().catch(err => {
flag = false;
commonToast(err && err.errorMessage); commonToast(err && err.errorMessage);
}); });
my.hideLoading(); my.hideLoading();
if (!userAddress) { if (!userAddress) return
flag = false;
}
const { name, telNumber, provinceName, cityName, cityCode, countyName, detailInfo, streetName } = userAddress || {}; const { name, telNumber, provinceName, cityName, cityCode, countyName, detailInfo, streetName } = userAddress || {};
const params = { const params = {
activityId, activityId,
......
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