购物车逻辑完善
个人信息存储优化 团购支付
This commit is contained in:
@@ -106,7 +106,7 @@ onShow(async () => {
|
||||
getCompanyList(userInfo.value.maOpenId).then(res => {
|
||||
const companyList = res.map((res: { company: any }) => res.company);
|
||||
const userList = res.map((res: { user: any }) => res.user);
|
||||
if(getCompanyId() == undefined) {
|
||||
// if(!getCompanyId()) {
|
||||
uni.showActionSheet({
|
||||
itemList: companyList.map((res: { companyName: string }) => res.companyName),
|
||||
success: (res) => {
|
||||
@@ -114,7 +114,7 @@ onShow(async () => {
|
||||
store.setUserInfo(userList[res.tapIndex]);
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user