zhangyuhan 1 місяць тому
батько
коміт
ab2884090f
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      data/data-models/modules/article/model/content.js

+ 2 - 1
data/data-models/modules/article/model/content.js

@@ -144,7 +144,8 @@ class ContentModel extends BaseModel {
     }
     }
 
 
     // 插入画像引流关键词
     // 插入画像引流关键词
-    if (content && baseInfo) {
+    const canType = ['招标', '采购意向', '预告']
+    if (content && canType.includes(baseInfo.topType)) {
       for (const guideKey in this._highlightGuideKeyMaps) {
       for (const guideKey in this._highlightGuideKeyMaps) {
         const guideKeyItem = this._highlightGuideKeyMaps[guideKey]
         const guideKeyItem = this._highlightGuideKeyMaps[guideKey]
         if (Array.isArray(guideKeyItem?.keys)) {
         if (Array.isArray(guideKeyItem?.keys)) {