Skip to content

Commit

Permalink
accept类型修改,视频默认值修改
Browse files Browse the repository at this point in the history
  • Loading branch information
tywei90 committed Nov 28, 2017
1 parent 50edc3c commit 05eb8a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/units/video/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class UnitVideo extends React.Component {
uploadProps : {
name: 'file',
action: '/upload?type=video',
accept: 'video/mp4',
accept: 'audio/mp4',
headers: {
authorization: 'authorization-text',
},
Expand Down
2 changes: 1 addition & 1 deletion src/reducer/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const unitsConfig = immutable.fromJS({
address: '',
loop: true,
auto: true,
padding: [0, 20, 30, 20]
padding: [0, 0, 20, 0]
},
CODE: {
type: 'CODE',
Expand Down

0 comments on commit 05eb8a4

Please sign in to comment.