Browse Source

fix lints

pull/2084/head
afc163 9 years ago
parent
commit
ff8d855cc6
  1. 9
      components/form/demo/validate-other.md
  2. 3
      site/theme/template/Content/Demo.jsx
  3. 3
      site/theme/template/NotFound.jsx

9
components/form/demo/validate-other.md

@ -151,16 +151,13 @@ let Demo = React.createClass({
>
<Checkbox {...getFieldProps('eat', {
valuePropName: 'checked',
})}
>吃饭饭</Checkbox>
})}>吃饭饭</Checkbox>
<Checkbox {...getFieldProps('sleep', {
valuePropName: 'checked',
})}
>睡觉觉</Checkbox>
})}>睡觉觉</Checkbox>
<Checkbox {...getFieldProps('beat', {
valuePropName: 'checked',
})}
>打豆豆</Checkbox>
})}>打豆豆</Checkbox>
</FormItem>
<FormItem

3
site/theme/template/Content/Demo.jsx

@ -93,8 +93,7 @@ export default class Demo extends React.Component {
<pre>
<code className="css" dangerouslySetInnerHTML={{
__html: highlightedStyle,
}}
/>
}} />
</pre>
</div> :
null

3
site/theme/template/NotFound.jsx

@ -10,8 +10,7 @@ export default function NotFound() {
</section>
<style dangerouslySetInnerHTML={{
__html: '#react-content { height: 100%; background-color: #fff }',
}}
/>
}} />
</div>
);
}

Loading…
Cancel
Save