Explorar el Código

修改title名

mw_666 hace 3 años
padre
commit
0ce3de7895
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      vue.config.js

+ 5 - 1
vue.config.js

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