fix(接口测试): 场景步骤启用/禁用 操作合并成一个按钮。

This commit is contained in:
fit2-zhao 2021-06-18 15:35:18 +08:00 committed by fit2-zhao
parent 1ca3b7c7fe
commit 8e40db53b9
2 changed files with 4 additions and 4 deletions

View File

@ -166,10 +166,10 @@
<el-tooltip :content="$t('api_test.automation.close_expansion')" placement="top" effect="light">
<i class=" el-icon-circle-plus-outline ms-open-btn" size="mini" v-prevent-re-click @click="closeExpansion"/>
</el-tooltip>
<el-tooltip :content="$t('api_test.scenario.enable')" placement="top" effect="light">
<el-tooltip :content="$t('api_test.scenario.enable')" placement="top" effect="light" v-if="!stepEnable">
<font-awesome-icon class="ms-open-btn" :icon="['fas', 'toggle-on']" v-prevent-re-click @click="enableAll"/>
</el-tooltip>
<el-tooltip :content="$t('api_test.scenario.disable')" placement="top" effect="light">
<el-tooltip :content="$t('api_test.scenario.disable')" placement="top" effect="light" v-else>
<font-awesome-icon class="ms-open-btn" :icon="['fas', 'toggle-off']" v-prevent-re-click @click="disableAll"/>
</el-tooltip>

View File

@ -11,10 +11,10 @@
<el-tooltip :content="$t('api_test.automation.close_expansion')" placement="top" effect="light">
<i class=" el-icon-circle-plus-outline ms-open-btn" size="mini" @click="closeExpansion"/>
</el-tooltip>
<el-tooltip :content="$t('api_test.scenario.enable')" placement="top" effect="light">
<el-tooltip :content="$t('api_test.scenario.enable')" placement="top" effect="light" v-if="!stepEnable">
<font-awesome-icon class="ms-open-btn" :icon="['fas', 'toggle-on']" @click="enableAll"/>
</el-tooltip>
<el-tooltip :content="$t('api_test.scenario.disable')" placement="top" effect="light">
<el-tooltip :content="$t('api_test.scenario.disable')" placement="top" effect="light" v-else>
<font-awesome-icon class="ms-open-btn" :icon="['fas', 'toggle-off']" @click="disableAll"/>
</el-tooltip>
<el-tree node-key="resourceId"