fengxiang
2018-03-01 7c26164dc8a00a230e074d320f3b2614c9080340
默认中文,登录页面title设置,菜单面包屑无效链接去除
3 files modified
12 ■■■■■ changed files
src/app/core/i18n/i18n.service.ts 5 ●●●●● patch | view | raw | blame | history
src/app/routes/routes-routing.module.ts 2 ●●● patch | view | raw | blame | history
src/assets/app-data.json 5 ●●●●● patch | view | raw | blame | history
src/app/core/i18n/i18n.service.ts
@@ -10,9 +10,10 @@
    private _default = 'zh-CN';
    //默认语言设置 未中文 by fx
    private _langs = [
        { code: 'en', text: 'English' },
        { code: 'zh-CN', text: '中文' }
        { code: 'zh-CN', text: '中文' },
        { code: 'en', text: 'English' }
    ];
    constructor(
src/app/routes/routes-routing.module.ts
@@ -37,7 +37,7 @@
        path: 'passport',
        component: LayoutPassportComponent,
        children: [
            { path: 'login', component: UserLoginComponent }
            {data:{title:'登录页面'}, path: 'login', component: UserLoginComponent }
        ]
    },    // passport
    {
src/assets/app-data.json
@@ -44,7 +44,6 @@
            "group": true,
            "children": [{
                "text": "用户管理",
                "link": "/users",
                "icon": "icon-user",
                "children": [{
                  "text": "安装用户",
@@ -55,7 +54,6 @@
                }]
              }, {
                "text": "设备管理",
                "link": "/devices",
                "icon": "icon-grid",
                "children": [{
                  "text": "设备配置",
@@ -69,7 +67,6 @@
                }]
              }, {
                "text": "传感器管理",
                "link": "/sensors",
                "icon": "icon-note",
                "children": [{
                  "text": "基本信息",
@@ -77,7 +74,6 @@
                }]
              }, {
                "text": "系统管理",
                "link": "/systems",
                "icon": "icon-note",
                "children": [
                  {
@@ -91,7 +87,6 @@
                ]
              }, {
                "text": "报表管理",
                "link": "/reports",
                "icon": "icon-note",
                "children": [
                  {