king
2022-05-17 fb3ec146a9e1444ece749d0bcf232a554e933fb0
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>