mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[improvement] optimize eslint-disable (#4070)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable object-shorthand */
|
||||
import { createNamespace } from '../utils';
|
||||
import { ChildrenMixin } from '../mixins/relation';
|
||||
|
||||
@@ -30,6 +29,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
watch: {
|
||||
// eslint-disable-next-line object-shorthand
|
||||
'parent.currentIndex'() {
|
||||
this.inited = this.inited || this.isActive;
|
||||
},
|
||||
|
Reference in New Issue
Block a user