Browse Source

优化菜单图标

liting2017 6 years ago
parent
commit
ba5f8d2185
2 changed files with 2 additions and 2 deletions
  1. 1 1
      js/admin/menu.jsx
  2. 1 1
      js/component/administration/video/videoForm.jsx

+ 1 - 1
js/admin/menu.jsx

@@ -93,7 +93,7 @@ module.exports = {
       {
         name: '技淘币管理',
         url: 'sub12',
-        icon: 'notification',
+        icon: 'red-envelope',
         children: [
           { name: '抵用券管理', url: 'vouchers' },
           { name: '劵面管理', url: 'coupon' },

+ 1 - 1
js/component/administration/video/videoForm.jsx

@@ -248,7 +248,7 @@ const NewDetailForm = Form.create()(React.createClass({
 							{...formItemLayout} 
 							label={<span><strong style={{color:'#f00',fontSize:12}}>* </strong>视频文件</span>}
 						>
-							{theData.transcoding==1?<Upload
+							{theData.transcoding==1||!this.props.data.id?<Upload
 								action={globalConfig.context +'/api/admin/video/upload' }
 								data={{ sign:'video' }}
 								fileList={this.state.fileList}