Browse Source

修改刷新后空白现象

lrf402788946 5 years ago
parent
commit
e4c05cd15c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -1,7 +1,7 @@
 const path = require('path');
 
 module.exports = {
-  publicPath: process.env.NODE_ENV === 'production' ? '/kjtAdmin/' : './',
+  publicPath: '/',
   // pages: {
   //   index: 'src/pages/login/main.js',
   // },