瀏覽代碼

只有二级显示模块类型

DESKTOP-SVI9JE1\muzen 2 年之前
父節點
當前提交
db248e5c6d
共有 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.moduleTypeId ? this.typeOptions.find(i => i.typeId === row.moduleTypeId).typeName : ''
+      return row.lv === 2 ? this.typeOptions.find(i => i.typeId === row.moduleTypeId).typeName : ''
     }
   }
 }