@@ -65,7 +65,7 @@ class Add extends React.PureComponent {
}
test({
group: this.state.name,
- input: this.state.testContent
+ input: JSON.parse(this.state.testContent)
}).then(res => {
if (res.code === 0) {
this.setState({ testResult: JSON.stringify(res) })