修复 layer 内部 resize 方法的一处错误

This commit is contained in:
贤心 2022-08-19 00:51:44 +08:00
parent b0486c1b0a
commit e2149fc8b1

View File

@ -481,7 +481,7 @@ Class.pt.resize = function(){
var config = that.config;
that.offset();
(/^\d+%$/.test(config.area[0]) || /^\d+%$/.test(config.area[1])) && that.auto(times);
(/^\d+%$/.test(config.area[0]) || /^\d+%$/.test(config.area[1])) && that.auto(that.index);
config.type == 4 && that.tips();
};