Commit 6d366830a5c84addc0fc30a7672bcafbc01532c8

Authored by monkeyhouyi
1 parent 6143a919

系统名称-E蓉管理

src/views/Login.vue
1 1 <template>
2 2 <div class="Login">
3 3 <div class="login-wrap">
4   - <div class="login-wrap_header">内部系统</div>
  4 + <div class="login-wrap_header">E蓉管理</div>
5 5 <div class="login-wrap_container">
6 6 <div class="welcome-text">欢迎登录!</div>
7 7 <el-form
... ... @@ -33,7 +33,7 @@
33 33 <!-- 忘记密码? -->
34 34 </div>
35 35 </div>
36   - <el-button class="login-button" @click="toHome" :loading="loading">登录</el-button>
  36 + <el-button class="login-button" @click.native="toHome" :loading="loading">登录</el-button>
37 37 <!-- <div class="login-button" @click="toHome">
38 38 {{ loading ? "登录中。。。" : "登录" }}
39 39 </div> -->
... ...
src/views/homePage/components/Header.vue
... ... @@ -3,7 +3,7 @@
3 3 <div class="slogin">
4 4 <!-- 举旗帜聚民心、防风险保安全、强治理惠民生、 增动能促发展、谋合作图共赢 -->
5 5 </div>
6   - <div class="title">内部系统</div>
  6 + <div class="title">E蓉管理</div>
7 7 <div class="user">
8 8 <div class="head">
9 9 <el-image :src="avatar" fit="cover"></el-image>
... ...
src/views/homePage/components/Menu.vue
... ... @@ -51,7 +51,7 @@ export default {
51 51 };
52 52 },
53 53 mounted() {
54   - // 显示"内部系统PC权限"下的页面
  54 + // 显示"E蓉管理PC权限"下的页面
55 55 let meun = this.$store.state.user.menuList.find(
56 56 (v) => v.id == "582459649622541573"
57 57 ).children;
... ...
vue.config.js
... ... @@ -4,6 +4,8 @@ function resolve(dir) {
4 4 return path.join(__dirname, dir)
5 5 }
6 6 const CompressionPlugin = require('compression-webpack-plugin')
  7 +const name = 'E蓉管理' // page title
  8 +
7 9  
8 10 module.exports = defineConfig({
9 11  
... ... @@ -31,7 +33,7 @@ module.exports = defineConfig({
31 33 },
32 34 },
33 35 configureWebpack: {
34   - name: '属地',
  36 + name: name,
35 37 resolve: {
36 38 alias: {
37 39 '@': resolve('src'),
... ... @@ -58,6 +60,11 @@ module.exports = defineConfig({
58 60  
59 61 // when there are many pages, it will cause too many meaningless requests
60 62 config.plugins.delete('prefetch')
  63 + config.plugin('html')
  64 + .tap(args => {
  65 + args[0].title = name;
  66 + return args;
  67 + })
61 68  
62 69 // set svg-sprite-loader
63 70 config.module
... ...