pull/1051/head
贤心 2 years ago
parent 8e5a5dae02
commit 691cb5811f

@ -1,7 +1,7 @@
{
"name": "layui",
"realname": "layui",
"version": "2.7.0-rc.6",
"version": "2.7.0",
"description": "Classic modular Front-End UI library",
"main": "dist/layui.js",
"license": "MIT",

@ -15,7 +15,7 @@
}
,Layui = function(){
this.v = '2.7.0-rc.1'; // layui 版本号
this.v = '2.7.0'; // layui 版本号
}
//识别预先可能定义的指定全局对象

@ -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();
});

Loading…
Cancel
Save