mirror of https://github.com/layui/layui
优化 dropdown 局部代码结构
parent
7ca50bd1cf
commit
dc9bdd3a36
|
@ -36,9 +36,9 @@ layui.define(['jquery', 'laytpl', 'lay'], function(exports){
|
||||||
|
|
||||||
//操作当前实例
|
//操作当前实例
|
||||||
,thisModule = function(){
|
,thisModule = function(){
|
||||||
var that = this
|
var that = this;
|
||||||
,options = that.config
|
var options = that.config;
|
||||||
,id = options.id;
|
var id = options.id;
|
||||||
|
|
||||||
thisModule.that[id] = that; //记录当前实例对象
|
thisModule.that[id] = that; //记录当前实例对象
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue