fix(接口测试): 禁用场景置灰请求

This commit is contained in:
chenjianxing 2020-11-02 14:36:06 +08:00
parent d1fc4b4cdd
commit 917b3adc58
1 changed files with 4 additions and 2 deletions

View File

@ -162,9 +162,11 @@ export default {
break;
}
},
getColor(enable, method) {
if (enable) {
getColor(requestEnable, method) {
if (this.scenario.enable && requestEnable) {
return this.methodColorMap.get(method);
} else {
return '#909399';
}
},
select(request) {