Commit 3d1bbc0f by caoyanzhi

fix: 修复会员详情报错的bug

parent c1caac4c
......@@ -880,7 +880,7 @@ export default {
this.isGrilClothes = res.data.result.isGrilClothes;
this.figureInfo = res.data.result.figureInfo;
if (data.figureInfo) {
if (data.figureInfo && Array.isArray(data.figureInfo.baseinfo)) {
this.baseinfoheight = data.figureInfo.baseinfo[0] || "--";
this.baseinfoweight = data.figureInfo.baseinfo[1] || "--";
}
......
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