Skip to content

Commit

Permalink
fix: use https
Browse files Browse the repository at this point in the history
  • Loading branch information
halwu(吴浩麟) committed May 17, 2017
1 parent 84b695f commit 45493d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions doc/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#react-body {
margin: 10px;
}

.reflv-wrap {
margin: 0 auto;
max-width: 1000px;
Expand All @@ -10,4 +14,10 @@
width: 100%;
margin: 10px 0;
}

.ant-table {
td {
word-break: normal;
}
}
}
3 changes: 2 additions & 1 deletion doc/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export class FlvSupport extends PureComponent {
dataIndex: 'support',
key: 'support',
render: (text) => {
if (typeof text === 'boolean') {
//noinspection EqualityComparisonWithCoercionJS
if (typeof text === 'boolean' || text == null) {
return text ? <Tag color="green">true</Tag> : <Tag color="red">false</Tag>;
}
return text;
Expand Down

0 comments on commit 45493d3

Please sign in to comment.