mirror of https://github.com/ElemeFE/element
parent
e99a7b3d6e
commit
cc0934d89b
|
@ -20,6 +20,8 @@ export default {
|
|||
|
||||
computed: {
|
||||
content() {
|
||||
if (this.dot) return;
|
||||
|
||||
const value = this.value;
|
||||
const max = this.max;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
padding: 0 var(--badge-padding);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
border:1px solid #fff;
|
||||
border: 1px solid #fff;
|
||||
|
||||
@when fixed {
|
||||
position: absolute 0 calc(var(--badge-size) / 2 + 1) * *;
|
||||
|
|
Loading…
Reference in New Issue