浏览代码

文案修改

wanghai 3 年之前
父节点
当前提交
a0485a96aa
共有 3 个文件被更改,包括 8 次插入8 次删除
  1. 4 4
      src/layout/components/Header/index.vue
  2. 3 3
      src/views/login/index.vue
  3. 1 1
      vue.config.js

+ 4 - 4
src/layout/components/Header/index.vue

@@ -16,14 +16,14 @@
           <el-dropdown-menu slot="dropdown" class="user-dropdown">
             <el-dropdown-item @click.native="changePassword">修改密码</el-dropdown-item>
             <el-dropdown-item divided @click.native="logout">
-              <span style="display: block">退出登</span>
+              <span style="display: block">退出登</span>
             </el-dropdown-item>
           </el-dropdown-menu>
         </el-dropdown>
       </div> -->
 
-      <!-- <el-dialog title="退出重新登" :visible.sync="dialogPassword" width="500px" center>
-        <span>密码修改成功,请退出重新登。</span>
+      <!-- <el-dialog title="退出重新登" :visible.sync="dialogPassword" width="500px" center>
+        <span>密码修改成功,请退出重新登。</span>
         <span slot="footer" class="dialog-footer">
           <el-button @click="dialogPassword = false">取 消</el-button>
           <el-button type="primary" @click="confirmOut">确 定</el-button>
@@ -96,7 +96,7 @@ export default {
     toggleSideBar() {
       this.$store.dispatch('app/toggleSideBar')
     },
-    // 退出登
+    // 退出登
     async logout() {
       await this.$store.dispatch('user/logout')
       this.$router.push(`/login?redirect=${this.$route.fullPath}`)

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

@@ -54,7 +54,7 @@
               :loading="loading"
               type="primary"
               @click.native.prevent="handleLogin"
-            >登</el-button>
+            >登</el-button>
           </el-form>
         </div> -->
 
@@ -107,7 +107,7 @@
               :loading="loading"
               type="primary"
               @click.native.prevent="handleLogin"
-            >登</el-button>
+            >登</el-button>
           </el-form>
         </div>
       </div>
@@ -162,7 +162,7 @@ export default {
         this.$refs.password.focus()
       })
     },
-    // 登
+    // 登
     handleLogin() {
       this.$refs.loginForm.validate(valid => {
         // console.log('111222', this.loginForm)

+ 1 - 1
vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
   return path.join(__dirname, dir)
 }
 
-const name = '登系统' // page title
+const name = '登系统' // page title
 const BASE_URL = process.env.NODE_ENV === 'production' ? '' : 'http://192.168.2.235:1111'
 // const BASE_URL = process.env.NODE_ENV === 'production' ? '' : 'http://192.168.2.79:8031/'
 const port = 8086