🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -20,7 +20,7 @@
|
|||
data () {
|
||||
return {
|
||||
dot: false
|
||||
}
|
||||
};
|
||||
},
|
||||
ready () {
|
||||
this.dot = this.$els.dot.innerHTML.length ? true : false;
|
||||
|
@ -39,7 +39,7 @@
|
|||
[`${prefixCls}-item-head-custom`]: this.dot,
|
||||
[`${prefixCls}-item-head-${this.color}`]: this.headColorShow
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
headColorShow () {
|
||||
return this.color == 'blue' || this.color == 'red' || this.color == 'green';
|
||||
|
@ -51,7 +51,7 @@
|
|||
style = {
|
||||
'color': this.color,
|
||||
'border-color': this.color
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -61,5 +61,5 @@
|
|||
return `${prefixCls}-item-content`;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
{
|
||||
[`${prefixCls}-pending`]: this.pending
|
||||
}
|
||||
]
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue