优化 dropdown 局部代码结构

pull/1108/head
贤心 2022-08-04 15:20:45 +08:00
parent 7ca50bd1cf
commit dc9bdd3a36
1 changed files with 3 additions and 3 deletions

View File

@ -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; //记录当前实例对象