Преглед изворни кода

除了1级都展示模块类型

DESKTOP-SVI9JE1\muzen пре 2 година
родитељ
комит
79762564ee
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/operation/recommend/index.vue

+ 1 - 1
src/views/operation/recommend/index.vue

@@ -334,7 +334,7 @@ export default {
     },
 
     typeFormatter(row) {
-      return row.lv === 2 ? this.typeOptions.find(i => i.typeId === row.moduleTypeId).typeName : ''
+      return row.lv !== 1 ? this.typeOptions.find(i => i.typeId === row.moduleTypeId).typeName : ''
     }
   }
 }