This commit is contained in:
贤心
2022-06-23 01:54:06 +08:00
parent 8e5a5dae02
commit 691cb5811f
3 changed files with 4 additions and 4 deletions

View File

@@ -296,10 +296,10 @@ layui.define('jquery', function(exports){
//移入移出容器
options.elem.on('mouseenter', function(){
if (options.autoplay === 'always') return;
if (that.config.autoplay === 'always') return;
clearInterval(that.timer);
}).on('mouseleave', function(){
if (options.autoplay === 'always') return;
if (that.config.autoplay === 'always') return;
that.autoplay();
});