mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[improvement] update lint rules (#3970)
This commit is contained in:
@@ -41,7 +41,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
render(h) {
|
||||
render() {
|
||||
const { icon, slots } = this;
|
||||
const active = this.parent.route ? this.routeActive : this.active;
|
||||
const color = this.parent[active ? 'activeColor' : 'inactiveColor'];
|
||||
|
Reference in New Issue
Block a user