update component badge
Resolved the bug of badge when setted 'dot' attribute, the dot does not hide after setting ': count = "0" ' (the type of 0 is number not string)
This commit is contained in:
parent
2c6c41be34
commit
647ae4fa96
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
|
||||
if (this.dot) {
|
||||
status = true;
|
||||
if (this.count) {
|
||||
if (typeof this.count !== 'undefined') {
|
||||
if (parseInt(this.count) === 0) {
|
||||
status = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue