🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -31,7 +31,7 @@ function hide() {
|
|||
update({
|
||||
percent: 0
|
||||
});
|
||||
}, 200)
|
||||
}, 200);
|
||||
}, 800);
|
||||
}
|
||||
|
||||
|
@ -109,4 +109,4 @@ export default {
|
|||
loadingBarInstance = null;
|
||||
instance.destroy();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -36,7 +36,7 @@ LoadingBar.newInstance = properties => {
|
|||
destroy () {
|
||||
document.body.removeChild(div);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
export default LoadingBar;
|
||||
|
|
|
@ -49,12 +49,12 @@
|
|||
[`${prefixCls}-inner-color-primary`]: this.color === 'primary' && this.status === 'success',
|
||||
[`${prefixCls}-inner-failed-color-error`]: this.failedColor === 'error' && this.status === 'error'
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
outerStyles () {
|
||||
return {
|
||||
height: `${this.height}px`
|
||||
}
|
||||
};
|
||||
},
|
||||
styles () {
|
||||
let style = {
|
||||
|
@ -73,5 +73,5 @@
|
|||
return style;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue