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 +1 -0
- package/lib/upload/upload.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/upload/upload.js
CHANGED
|
@@ -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'
|
|
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
|
)
|