Commit 70c67302 authored by 张子雨's avatar 张子雨

feat: 添加校验

parent 931c1e92
......@@ -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,
});
}
......
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