zhangyuhan 1 месяц назад
Родитель
Сommit
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) {
         const guideKeyItem = this._highlightGuideKeyMaps[guideKey]
         if (Array.isArray(guideKeyItem?.keys)) {