Browse Source

修改title名

mw_666 3 years ago
parent
commit
0ce3de7895
1 changed files with 5 additions and 1 deletions
  1. 5 1
      vue.config.js

+ 5 - 1
vue.config.js

@@ -66,7 +66,11 @@ module.exports = {
   chainWebpack: (config) => {
   chainWebpack: (config) => {
 
 
     config.resolve.symlinks(true); // 修复热更新失效
     config.resolve.symlinks(true); // 修复热更新失效
-
+	config.plugin('html')
+	      .tap(args => {
+	        args[0].title = "智能综合分析系统";
+	        return args;
+	      })
     // 路径别名
     // 路径别名
     config.resolve.alias
     config.resolve.alias
       .set("@", resolve("src"))
       .set("@", resolve("src"))