fmui-base 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.0.8: 上传组件冒泡事件问题修复
6
7
  - 2.0.7: 上传组件结构调整
7
8
  - 2.0.6: 政治面貌全选问题修改
8
9
  - 2.0.5: 流程功能优化
@@ -614,10 +614,10 @@ var PageHome = function (_React$Component) {
614
614
  { className: 'upload-content' },
615
615
  _react2.default.createElement(
616
616
  'div',
617
- { className: 'dd-t-border upload-list-item', onClick: _this3.view.bind(_this3, item) },
617
+ { className: 'dd-t-border upload-list-item' },
618
618
  _react2.default.createElement(
619
619
  'div',
620
- { className: 'upload-list-item-content' },
620
+ { className: 'upload-list-item-content', onClick: _this3.view.bind(_this3, item) },
621
621
  _react2.default.createElement(
622
622
  'div',
623
623
  { className: 'upload-name-icon' },
@@ -636,7 +636,7 @@ var PageHome = function (_React$Component) {
636
636
  ),
637
637
  _react2.default.createElement(
638
638
  'div',
639
- { className: 'upload-icon' },
639
+ { className: t.props.canDownload || t.state.canDel ? 'upload-icon' : 't-DN' },
640
640
  _react2.default.createElement('i', { className: t.props.canDownload ? 'iconfont icon-download1' : 't-DN', onClick: _this3.downloadFile.bind(_this3, item) }),
641
641
  _react2.default.createElement('i', { className: t.state.canDel ? 'iconfont icon-delete' : 't-DN', onClick: _this3.del.bind(_this3, i) })
642
642
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",