packages/okam-build/lib/processor/template/plugins/model/model-helper.js
function getEventName(appType, eventType) {
    let eventName = eventType;

    if (appType === 'ant') {
        let formatEventType = eventType.charAt(0).toUpperCase() + eventType.substr(1);
        eventName = formatEventType;
    }

    if (appType === 'quick') {
        eventName = toHyphen(eventType);
    }

    return `${EVENT_PREFIX[appType]}${eventName}`;
}
function getEventName(appType, eventType) {
    let eventName = eventType;

    if (appType === 'ant') {
        let formatEventType = eventType.charAt(0).toUpperCase() + eventType.substr(1);
        eventName = formatEventType;
    }

    if (appType === 'quick') {
        eventName = toHyphen(eventType);
    }

    return `${EVENT_PREFIX[appType]}${eventName}`;
}
事件名获取

@param  {string} appType   平台
@param  {string} eventType 事件类型
@return {string}           事件名