lrf 2 years ago
parent
commit
499adedf89
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/service/system/platformAct.js

+ 2 - 1
app/service/system/platformAct.js

@@ -59,7 +59,6 @@ class PlatformActService extends CrudService {
       }
     } else if (type === '4') {
       tag = '加价购';
-
     } else if (type === '5') {
       tag = '满减';
       const discount = _.get(data, 'config.discount', []);
@@ -67,6 +66,7 @@ class PlatformActService extends CrudService {
         const { limit, number } = i;
         text = `${text}满${limit}减${number};`;
       }
+      text = _.trimEnd(text, ';');
     } else if (type === '6') {
       tag = '满折';
       const discount = _.get(data, 'config.discount', []);
@@ -76,6 +76,7 @@ class PlatformActService extends CrudService {
         if (max) text = `${text}(最多减免${max}元)`;
         text = `${text};`;
       }
+      text = _.trimEnd(text, ';');
     } else if (type === '7') {
       tag = '套装';
     }