fix(接口测试): 代码模版添加undefined问题

This commit is contained in:
chenjianxing 2020-08-27 17:58:48 +08:00
parent e07f24b817
commit b0f720bb1e
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@
},
methods: {
addTemplate(template) {
if (!this.beanShellProcessor.script) {
this.beanShellProcessor.script = "";
}
this.beanShellProcessor.script += template.value;
this.reload();
},