fix(接口测试): 只读用户单接口调试

This commit is contained in:
chenjianxing 2020-08-20 16:02:14 +08:00
parent 72010207ea
commit c4d4284957
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
</el-select>
</el-form-item>
<el-button :disabled="!request.enable || !scenario.enable" class="debug-button" size="small" type="primary" @click="runDebug">{{$t('load_test.save_and_run')}}</el-button>
<el-button :disabled="!request.enable || !scenario.enable || isReadOnly" class="debug-button" size="small" type="primary" @click="runDebug">{{$t('load_test.save_and_run')}}</el-button>
<el-tabs v-model="activeName">
<el-tab-pane label="Interface" name="interface">

View File

@ -40,7 +40,7 @@
</el-switch>
</el-form-item>
<el-button :disabled="!request.enable || !scenario.enable" class="debug-button" size="small" type="primary" @click="runDebug">{{ $t('load_test.save_and_run') }}</el-button>
<el-button :disabled="!request.enable || !scenario.enable || isReadOnly" class="debug-button" size="small" type="primary" @click="runDebug">{{ $t('load_test.save_and_run') }}</el-button>
<el-tabs v-model="activeName">
<el-tab-pane :label="$t('api_test.request.parameters')" name="parameters">