🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -4,8 +4,6 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { oneOf } from '../../utils/assist';
|
||||
|
||||
const prefixCls = 'ivu-col';
|
||||
|
||||
export default {
|
||||
|
@ -24,7 +22,7 @@
|
|||
data () {
|
||||
return {
|
||||
gutter: 0
|
||||
}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
classes () {
|
||||
|
@ -63,11 +61,11 @@
|
|||
style = {
|
||||
paddingLeft: this.gutter / 2 + 'px',
|
||||
paddingRight: this.gutter / 2 + 'px'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return style;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
[`${prefixCls}-${this.type}-${this.justify}`]: !!this.justify,
|
||||
[`${this.className}`]: !!this.className
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
styles () {
|
||||
let style = {};
|
||||
|
@ -49,7 +49,7 @@
|
|||
style = {
|
||||
marginLeft: this.gutter / -2 + 'px',
|
||||
marginRight: this.gutter / -2 + 'px'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return style;
|
||||
|
@ -72,5 +72,5 @@
|
|||
ready () {
|
||||
this.updateGutter(this.gutter);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue