|
@@ -948,7 +948,7 @@ export default {
|
948
|
948
|
}
|
949
|
949
|
|
950
|
950
|
// 商品描述,第一行
|
951
|
|
- let descName = self.shareGood.baseInfo.description;
|
|
951
|
+ let descName = self.shareGood.baseInfo.description || '';
|
952
|
952
|
|
953
|
953
|
if (descName.length > 14) {
|
954
|
954
|
descName = descName.substr(0, 14);
|
|
@@ -963,7 +963,7 @@ export default {
|
963
|
963
|
ctx.stroke();
|
964
|
964
|
|
965
|
965
|
// 商品描述,第二行
|
966
|
|
- let descName2 = self.shareGood.baseInfo.description;
|
|
966
|
+ let descName2 = self.shareGood.baseInfo.description || '';
|
967
|
967
|
if (descName2.length > 14) {
|
968
|
968
|
descName2 = descName2.substr(14, 14) + "...";
|
969
|
969
|
|