mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
style: fix lint
This commit is contained in:
@@ -59,12 +59,12 @@ export default {
|
||||
return this.inactive ? '#cacaca' : this.color;
|
||||
},
|
||||
pivotStyle() {
|
||||
let pivotStyle = {
|
||||
const pivotStyle = {
|
||||
backgroundColor: this.componentColor,
|
||||
color: this.textColor,
|
||||
left: this.percentage + '%',
|
||||
marginLeft: '-14px'
|
||||
}
|
||||
};
|
||||
console.log(this.percentage);
|
||||
if (this.percentage <= 5) {
|
||||
pivotStyle.left = '0%';
|
||||
|
Reference in New Issue
Block a user