Browse Source

change title

Unknown 7 years ago
parent
commit
3c6d3dda01
3 changed files with 4 additions and 3 deletions
  1. 1 1
      index.html
  2. 2 1
      src/router/index.js
  3. 1 1
      src/views/login/index.vue

+ 1 - 1
index.html

2
 <html>
2
 <html>
3
   <head>
3
   <head>
4
     <meta charset="utf-8">
4
     <meta charset="utf-8">
5
-    <title>vue-admin-template</title>
5
+    <title>gamble-admin</title>
6
   </head>
6
   </head>
7
   <body>
7
   <body>
8
     <div id="app"></div>
8
     <div id="app"></div>

+ 2 - 1
src/router/index.js

35
         component: _import('dashboard/index'),
35
         component: _import('dashboard/index'),
36
         meta: {
36
         meta: {
37
           title: '首頁',
37
           title: '首頁',
38
-          icon: 'dashboard'
38
+          icon: 'dashboard',
39
+          noCache: true
39
           // role: ['dd']
40
           // role: ['dd']
40
         }
41
         }
41
       }
42
       }

+ 1 - 1
src/views/login/index.vue

2
   <div class="login-container">
2
   <div class="login-container">
3
     <el-form autoComplete="on" :model="loginForm" :rules="loginRules" ref="loginForm" label-position="left" label-width="0px"
3
     <el-form autoComplete="on" :model="loginForm" :rules="loginRules" ref="loginForm" label-position="left" label-width="0px"
4
       class="card-box login-form">
4
       class="card-box login-form">
5
-      <h3 class="title">vue-element-admin</h3>
5
+      <h3 class="title">gamble-admin</h3>
6
       <el-form-item prop="username">
6
       <el-form-item prop="username">
7
         <span class="svg-container svg-container_login">
7
         <span class="svg-container svg-container_login">
8
           <svg-icon icon-class="user" />
8
           <svg-icon icon-class="user" />