From 4dee93a895210874e33c8192dda1d9b3cd7f19af Mon Sep 17 00:00:00 2001 From: liudianxin Date: Thu, 23 Apr 2020 18:27:55 +0800 Subject: [PATCH] from revise to give up --- config/index.js | 4 ++-- src/router/index.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index 8f8f63f..7fff76e 100644 --- a/config/index.js +++ b/config/index.js @@ -51,10 +51,10 @@ module.exports = { build: { // Template for index.html - index: path.resolve(__dirname, "../dist", "apaas", "new", "index.html"), + index: path.resolve(__dirname, "../dist/apaas/new/index.html"), // Paths - assetsRoot: path.resolve(__dirname, "../dist", "apaas", "new"), + assetsRoot: path.resolve(__dirname, "../dist/apaas/new"), assetsSubDirectory: "static", assetsPublicPath: "/apaas/new/", diff --git a/src/router/index.js b/src/router/index.js index 924ee8c..ba5870f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,7 +15,6 @@ export default new Router({ path: "/index", name: "index", component: Index, - redirect: "/table_example" }, { path: "/table_example", // 表格实例 -- 2.26.0