fix: 代码模版错误#1006923
--bug=1006923 --user=lyh 【github#1598】脚本的代码模版错误 https://www.tapd.cn/55049933/s/1052016
This commit is contained in:
parent
7f0bd60858
commit
0f794b0802
|
@ -154,6 +154,14 @@ export default {
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
// todo 优化
|
||||
if (this.language !== 'beanshell' && this.language !== 'groovy') {
|
||||
if (obj.title === this.$t('api_test.request.processor.code_add_report_length') ||
|
||||
obj.title === this.$t('api_test.request.processor.code_hide_report_length')) {
|
||||
this.$warning("无对应的 "+ this.language +" 代码模版!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
code = obj.value;
|
||||
}
|
||||
this.handleCodeTemplate(code);
|
||||
|
|
Loading…
Reference in New Issue