Selaa lähdekoodia

fix: 三级页操作按钮列表显示逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 vuosi sitten
vanhempi
commit
4e2d8f2934

+ 2 - 2
apps/bigmember_pc/src/views/article-content/components/ContentBIActions.vue

@@ -118,12 +118,12 @@ export default {
   },
   computed: {
     getList() {
-      if (this.list[0].active === 0) {
+      if (this.list[0].active === 0 && this.property !== 'BIProperty') {
         return this.list.slice(0, 1)
       } else if (this.property === 'BIProperty') {
         // eslint-disable-next-line vue/no-side-effects-in-computed-properties
         this.list = this.list.filter((v) => {
-          return v.title !== '创建销售线索'
+          return v.title !== '创建销售线索' && v.title !== '收录'
         })
         return this.list
       } else {