修改按钮禁用
This commit is contained in:
parent
b116516af1
commit
9472430209
|
@ -30,10 +30,10 @@
|
|||
<el-dropdown trigger="click" @command="handleCommand">
|
||||
<el-button class="el-dropdown-link more" icon="el-icon-more" plain/>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="report" v-if="test.status === 'Completed'">
|
||||
<el-dropdown-item command="report" :disabled="test.status !== 'Completed'">
|
||||
{{$t('api_report.title')}}
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item command="performance">
|
||||
<el-dropdown-item command="performance" :disabled="create">
|
||||
{{$t('api_test.create_performance_test')}}
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
|
|
Loading…
Reference in New Issue