code: function addEvent2EventMap(eventMap, opt){
    if(opt.filter){
        if(opt.filter.indexOf('#') === 0){
            let id = opt.filter.slice(1);
            if(!eventMap['id'][id]){
              eventMap['id'][id] = {};
              // eventMap['id'][id] = Object.assign(eventMap['id'][id], opt.events); 
            }
            eventMap['id'][id] = Object.assign(eventMap['id'][id], opt.events); 
        }else if(opt.filter.indexOf('.') === 0){
            let className = opt.filter.slice(1);
            if(!eventMap['class'][className]){
              eventMap['class'][className] = {};
              // eventMap['class'][className] = Object.assign(eventMap['class'][className], opt.events);
            }
            eventMap['class'][className] = Object.assign(eventMap['class'][className], opt.events);
        }
    }else if(!opt.filter){
      eventMap['base'] = Object.assign(eventMap['base'], opt.events);
    }
  }
docs: ///eventMap增加事件