瀏覽代碼

注释修改了一下

dongjh 1 年之前
父節點
當前提交
c392307a0a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/router/index.js
  2. 1 1
      vue.config.js

+ 1 - 1
src/router/index.js

@@ -5,7 +5,7 @@ import { constantRouterMap } from '@/config/router.config'
 Vue.use(Router)
 
 export default new Router({
-  mode: 'history', // 打包app时放开该配置 如果发布时,是以应用程序方式发布(类似8082/screen),需要将此段注释掉
+  mode: 'history', // 打包时修改该配置 如果发布时,是以应用程序方式发布(类似8082/screen),需要将此段注释掉
   base: process.env.BASE_URL,
   scrollBehavior: () => ({ y: 0 }),
   routes: constantRouterMap

+ 1 - 1
vue.config.js

@@ -24,7 +24,7 @@ module.exports = {
   //     filename: 'index.html',
   //   }
   // },
-  //打包app时放开该配置
+  //打包时修改该配置 需放开
   // publicPath:'/screen',
   configureWebpack: config => {
     //生产环境取消 console.log