Explorar el Código

improve: 修改打包后html文件

From-wh hace 2 años
padre
commit
587848ef1b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      template/admin/vue.config.js

+ 1 - 1
template/admin/vue.config.js

@@ -117,5 +117,5 @@ module.exports = {
   },
   publicPath: '/',
   assetsDir: 'system_static',
-  indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html',
+  indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'index.html',
 };