Skip to content

Commit

Permalink
ver. 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
peijie.dpj committed Sep 28, 2018
1 parent 9d58385 commit ae17429
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
11 changes: 10 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# history

## 2.2.3

* `FIX` fix 2.2.2 style change bug

## 2.2.2

* `CHANGE` support maxCount 999+ style
* `CHANGE` fix delete confirm bug

## 2.2.1

`CHANGED` support js style export
* `CHANGED` support js style export

## 2.2.0

Expand Down
4 changes: 2 additions & 2 deletions demo/TagDemo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const tagData = [
createByOwner: true,
},
{
tag: '自己创建0',
tag: '自己创建0 不可点赞',
count: 0,
canAddCount: true,
canAddCount: false,
createByOwner: false,
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-tag",
"version": "2.2.2",
"version": "2.2.3",
"description": "uxcore-tag component for uxcore.",
"repository": "https://github.com/uxcore/uxcore-tag.git",
"author": "peijie.dpj",
Expand Down
5 changes: 5 additions & 0 deletions src/Tag.less
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@
}
}
&.is-zero {
.@{__tagPrefixCls}-item-count {
display: none;
}
}
&.can-add-count.is-zero {
.@{__tagPrefixCls}-item-count {
display: inline-block;
opacity: 0;
Expand Down

0 comments on commit ae17429

Please sign in to comment.