diff --git a/public/react/src/modules/tpm/TPMsettings/Shixuninformation.js b/public/react/src/modules/tpm/TPMsettings/Shixuninformation.js index ba37e1967..b1fec2e2a 100644 --- a/public/react/src/modules/tpm/TPMsettings/Shixuninformation.js +++ b/public/react/src/modules/tpm/TPMsettings/Shixuninformation.js @@ -102,8 +102,12 @@ class Shixuninformation extends Component { } }) }) - this.setState({ - subvalues: newlist + console.log(this.props); + // debugger; + // this.get_mirror_script(this.props.data && this.props.data.shixun.standard_scripts[0].id) + } else { + this.props.form.setFieldsValue({ + selectscripts: this.props.data && this.props.data.shixun.choice_standard_scripts }) this.props.data && this.props.data.shixun.main_type.map((item, key) => {