fix composedPath

This commit is contained in:
Harvey committed 2020-07-20 09:56:52 +08:00
1 parent dd069324f9
commit fa3d3c6758
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ export default function progress(option) {
proxy($control, 'mousemove', event => {
setStyle($tip, 'display', 'block');
if (event.composedPath().indexOf($highlight) > -1) {
if (event.composedPath && event.composedPath().indexOf($highlight) > -1) {
showHighlight(event);
} else {
showTime(event);