king
2022-04-29 eec619b6e3339e9999a7a1c2c5454cef5d763b24
src/templates/zshare/unattended/settingform/index.jsx
@@ -13,7 +13,7 @@
  state = {
    enable: this.props.autoMatic.enable,
    onFinish: this.props.autoMatic.onFinish || 'over'
    onFinish: this.props.autoMatic.onFinish || 'restart'
  }
  handleConfirm = () => {
@@ -134,11 +134,11 @@
          {enable === 'true' ? <Col span={12}>
            <Form.Item label="完成后">
              {getFieldDecorator('onFinish', {
                initialValue: autoMatic.onFinish || 'over',
                initialValue: autoMatic.onFinish || 'restart',
              })(
                <Radio.Group onChange={(e) => this.setState({onFinish: e.target.value})}>
                  <Radio value="over">结束</Radio>
                  <Radio value="restart">重新启动</Radio>
                  <Radio value="over">结束</Radio>
                </Radio.Group>
              )}
            </Form.Item>