mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[improvement] update lint rules (#3970)
This commit is contained in:
@@ -154,7 +154,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
scrollToElement(element, setActive) {
|
||||
scrollToElement(element) {
|
||||
const { index } = element.dataset;
|
||||
if (!index) {
|
||||
return;
|
||||
@@ -177,7 +177,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
render(h) {
|
||||
render() {
|
||||
const Indexes = this.indexList.map(index => {
|
||||
const active = index === this.activeAnchorIndex;
|
||||
|
||||
|
Reference in New Issue
Block a user