已解决,已解决,已解决,已解决,已解决,已解决,已解决,已解决,已解决,已解决,已解决,已解决,已解决,
$.fn.xxx=function(){ return this.each(function(){ var me=$(this); if(me.data('init'))return ;//此对象初始化过 me.data('init',true);//// //.....其他代码 }) }