mirror of
https://github.com/youzan/vant.git
synced 2026-03-03 03:00:27 +08:00
[improvement] update lint rules (#3970)
This commit is contained in:
@@ -57,7 +57,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
render(h) {
|
||||
render() {
|
||||
const { pivotText, percentage } = this;
|
||||
const text = isDef(pivotText) ? pivotText : percentage + '%';
|
||||
const showPivot = this.showPivot && text;
|
||||
|
||||
Reference in New Issue
Block a user