Procházet zdrojové kódy

fix(frontend): 人工录入规则隐藏执行按钮

何文松 před 7 hodinami
rodič
revize
516d4d3477
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      frontend/vue-demo/src/views/Editor.vue

+ 1 - 1
frontend/vue-demo/src/views/Editor.vue

@@ -727,7 +727,7 @@
               <div class="rule-desc" v-if="rule.description">{{ rule.description }}</div>
             </div>
             <div class="rule-actions">
-              <el-button size="small" type="primary" text @click.stop="handleExecuteRule(rule)" title="执行" :loading="rule._executing">▶</el-button>
+              <el-button v-if="rule.actionType !== 'use_entity_value'" size="small" type="primary" text @click.stop="handleExecuteRule(rule)" title="执行" :loading="rule._executing">▶</el-button>
               <el-button size="small" type="danger" text :icon="Delete" @click.stop="handleDeleteRule(rule)" title="删除" />
             </div>
           </div>