Commit 285552a9 authored by 张子雨's avatar 张子雨

Merge branch 'feat/constructionOne' into feature/20230327_public_takeaway

* feat/constructionOne:
  feat: 添加校验
  feat: 添加校验
parents e66130ff 70c67302
......@@ -107,6 +107,8 @@ export async function getInfo() {
const dataList = await apiCategoryList(res.productBusiness);
categoryList = dataList.data;
}
// 判断是否包含到店类型
const storedis = res.productBusiness?.includes(3);
this.setState({
settlementType,
businessInfo: res,
......@@ -114,6 +116,7 @@ export async function getInfo() {
companyNamedis,
categoryList,
mainCategoryId: res.mainCategoryId,
storedis,
});
}
......
This diff is collapsed.
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