cr 4 år sedan
förälder
incheckning
e3a3503d23
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      src/pages/manage/good-list.vue
  2. 1 1
      src/pages/manage/index.vue

+ 2 - 2
src/pages/manage/good-list.vue

@@ -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
 

+ 1 - 1
src/pages/manage/index.vue

@@ -62,7 +62,7 @@
62 62
 
63 63
         <button class="btn" @click="layout">退出登录</button>
64 64
 
65
-        <div class="ver">0.3.41</div>
65
+        <div class="ver">0.3.42</div>
66 66
     </div>
67 67
 </template>
68 68