diff --git a/src/modules/dropdown.js b/src/modules/dropdown.js index 9bf76a8b..bfaf1a12 100644 --- a/src/modules/dropdown.js +++ b/src/modules/dropdown.js @@ -36,9 +36,9 @@ layui.define(['jquery', 'laytpl', 'lay'], function(exports){ //操作当前实例 ,thisModule = function(){ - var that = this - ,options = that.config - ,id = options.id; + var that = this; + var options = that.config; + var id = options.id; thisModule.that[id] = that; //记录当前实例对象