fix(接口测试): 代码模版添加undefined问题
This commit is contained in:
parent
e07f24b817
commit
b0f720bb1e
|
@ -72,6 +72,9 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
addTemplate(template) {
|
addTemplate(template) {
|
||||||
|
if (!this.beanShellProcessor.script) {
|
||||||
|
this.beanShellProcessor.script = "";
|
||||||
|
}
|
||||||
this.beanShellProcessor.script += template.value;
|
this.beanShellProcessor.script += template.value;
|
||||||
this.reload();
|
this.reload();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue