UNPKG

xlb-main-login

Version:

``` yarn install ```

11 lines (10 loc) 302 B
import store from '../store' //判断当前是新系统还是老系统 export async function getRouter(router) { const menuType = store.getters.menuType //0:新系统 1老系统 2:腾讯系统 let growth = 'growth' if (menuType == 1) { growth = 'enterprise' } return growth }