diff --git a/src/modules/transfer.js b/src/modules/transfer.js index 70f7c734..aa1adcd5 100644 --- a/src/modules/transfer.js +++ b/src/modules/transfer.js @@ -193,33 +193,35 @@ layui.define(['laytpl', 'form'], function(exports){ that.events(); //事件 }; - //渲染数据 + // 渲染数据 Class.prototype.renderData = function(){ - var that = this - ,options = that.config; + var that = this; + var options = that.config; - //左右穿梭框差异数据 + // 左右穿梭框差异数据 var arr = [{ - checkName: 'layTransferLeftCheck' - ,views: [] + checkName: 'layTransferLeftCheck', + views: [] }, { - checkName: 'layTransferRightCheck' - ,views: [] + checkName: 'layTransferRightCheck', + views: [] }]; - //解析格式 + // 解析格式 that.parseData(function(item){ - //标注为 selected 的为右边的数据 + // 标注为 selected 的为右边的数据 var _index = item.selected ? 1 : 0 - ,listElem = ['