fix:修复?.语法不兼容问题
This commit is contained in:
parent
1591265987
commit
b03a59eaa6
|
@ -229,7 +229,7 @@
|
|||
let goodsInform = goodsDetail.entity; //商品信息
|
||||
this.goodInfo = goodsInform;
|
||||
let goods_desc = goodsInform.describe_url;
|
||||
this.goodsShow = goods_desc?.length > 0 ? goods_desc : [goodsDetail.show_url];
|
||||
this.goodsShow = goods_desc && goods_desc.length > 0 ? goods_desc : [goodsDetail.show_url];
|
||||
this.detailUrl = goodsInform.detail_url ? goodsInform.detail_url : '';
|
||||
this.productType = goodsDetail.entity.account_type;
|
||||
this.$nextTick(function () {
|
||||
|
|
Loading…
Reference in New Issue