packages/okam-build/lib/processor/json/quick-app-json.js
function normalizeDisplayPages(pages) {
    if (!pages) {
        return;
    }

    let result = {};
    Object.keys(pages).forEach(k => {
        let item = pages[k];
        let {pageName} = getPageInfo(k);
        result[pageName] = item;
    });

    return result;
}
function normalizeDisplayPages(pages) {
    if (!pages) {
        return;
    }

    let result = {};
    Object.keys(pages).forEach(k => {
        let item = pages[k];
        let {pageName} = getPageInfo(k);
        result[pageName] = item;
    });

    return result;
}
Normalize display page information
input:
{
'<pagePath>': pageInfo
}
output:
{
'<pageName>': pageInfo
}

@inner
@param {Object} pages the display pages information to normalize
@return {Object}