[improvement] update lint rules (#3970)

This commit is contained in:
neverland
2019-07-26 11:47:17 +08:00
committed by GitHub
parent 07a72307cc
commit 3a77666e49
65 changed files with 115 additions and 102 deletions

View File

@@ -165,7 +165,7 @@ export default createComponent({
}, LONG_PRESS_INTERVAL);
},
onTouchStart(type) {
onTouchStart() {
clearTimeout(this.longPressTimer);
this.isLongPress = false;
@@ -185,7 +185,7 @@ export default createComponent({
}
},
render(h) {
render() {
const createListeners = type => ({
on: {
click: () => {