Commit 67b65032 authored by 张子雨's avatar 张子雨

feat: 优化

parent c692257b
...@@ -72,7 +72,7 @@ const StoreModal = props => { ...@@ -72,7 +72,7 @@ const StoreModal = props => {
params[areaArr[i]] = item; params[areaArr[i]] = item;
}); });
} }
if (params.shopHeadImage.length) { if (params?.shopHeadImage?.length) {
// eslint-disable-next-line prefer-destructuring // eslint-disable-next-line prefer-destructuring
params.shopHeadImage = params.shopHeadImage[0]; params.shopHeadImage = params.shopHeadImage[0];
} }
......
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