<commit_before>(function(vc,vm){

    vc.extends({
        propTypes: {
                   callBackListener:vc.propTypes.string, //父组件名称
                   callBackFunction:vc.propTypes.string //父组件监听方法
        },
        data:{
            addUnitInfo:{
                floorId:'',
                unitNum:'',
                layerCount:'',
                lift:'',
                remark:'',
                communityId:''
            }
        },
         _initMethod:function(){

         },
         _initEvent:function(){
             vc.on('addUnit','openAddUnitModal',function(_params){
                 vc.component.refreshAddUnitInfo();
                $('#addUnitModel').modal('show');
                vc.component.addUnitInfo.floorId = _params.floorId;
                vc.component.addUnitInfo.communityId = vc.getCurrentCommunity().communityId;
             });
             vc.on('addUnit','addUnitModel',function(_params){
                vc.component.refreshAddUnitInfo();
                $('#addUnitModel').modal('show');
                vc.component.addUnitInfo.floorId = _params.floorId;
                vc.component.addUnitInfo.communityId = vc.getCurrentCommunity().communityId;
            });
             vc.on('addUnit','onFloorInfo',function (_params) {
                 vc.component.addUnitInfo.floorId = _params.floorId;<commit_msg>优化 floorId 被覆盖为<commit_after>(function(vc,vm){

    vc.extends({
        propTypes: {
                   callBackListener:vc.propTypes.string, //父组件名称
                   callBackFunction:vc.propTypes.string //父组件监听方法
        },
        data:{
            addUnitInfo:{
                floorId:'',
                unitNum:'',
                layerCount:'',
                lift:'',
                remark:'',
                communityId:''
            }
        },
         _initMethod:function(){

         },
         _initEvent:function(){
             vc.on('addUnit','openAddUnitModal',function(_params){
                 vc.component.refreshAddUnitInfo();
                $('#addUnitModel').modal('show');
                 if(_params.hasOwnProperty("floorId") && vc.notNull(_params.floorId)){
                     vc.component.addUnitInfo.floorId = _params.floorId;
                 }
                vc.component.addUnitInfo.communityId = vc.getCurrentCommunity().communityId;
             });
             vc.on('addUnit','addUnitModel',function(_params){
                vc.component.refreshAddUnitInfo();

                $('#addUnitModel').modal('show');
                if(_params.hasOwnProperty("floorId") && vc.notNull(_params.floorId)){
                    vc.component.addUnitInfo.floorId = _params.floorId;
                }
                vc.component.addUnitInfo.communityId = vc.getCurrentCommunity().communityId;
            });
             vc.on('addUnit','onFloorInfo',function (_params) {
                 if(_params.hasOwnProperty("floorId") && vc.notNull(_params.floorId)){
                     vc.component.addUnitInfo.floorId = _params.floorId;
                 }
{'fraction_non_alphanumeric': 0.12942332896461337, 'fraction_numerical': 0.0, 'mean_word_length': 1.5916808149405772, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '140717', 'n_tokens_mistral': 848, 'n_tokens_neox': 796, 'n_words': 77}