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

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

View File

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

View File

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