1
hejianhao
2025-03-04 d8adda597b4fa12bd032b3217c52a422f5f348ed
1
2个文件已修改
7 ■■■■ 已修改文件
src/layouts/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/index.vue
@@ -36,7 +36,7 @@
                </div>
            </div>
        </div>
        <router-view :key="key"></router-view>
        <router-view></router-view>
    </div>
</template>
vue.config.js
@@ -1,3 +1,8 @@
const path = require('path')
function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
  publicPath: './',
  // publicPath: process.env.NODE_ENV === 'production' ? './' : '/',