diff --git a/package.json b/package.json index 9942fbac..13957a78 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Pan ", "license": "MIT", "scripts": { - "dev": "vue-cli-service serve", + "dev": "vue-cli-service serve --open", "build:prod": "vue-cli-service build", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview", @@ -59,7 +59,7 @@ "nprogress": "0.2.0", "path-to-regexp": "2.4.0", "screenfull": "4.2.0", - "showdown": "1.9.0", + "showdown": "1.9.1", "sortablejs": "1.8.4", "tui-editor": "1.3.3", "vue": "2.6.10", diff --git a/src/router/index.js b/src/router/index.js index fbe8ad25..2e522b2a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -45,7 +45,7 @@ export const constantRoutes = [ hidden: true, children: [ { - path: '/redirect/:path*', + path: '/redirect/:path(.*)', component: () => import('@/views/redirect/index') } ] diff --git a/vue.config.js b/vue.config.js index 7b8f3a5d..5964c834 100644 --- a/vue.config.js +++ b/vue.config.js @@ -31,7 +31,7 @@ module.exports = { productionSourceMap: false, devServer: { port: port, - open: true, + open: false, overlay: { warnings: false, errors: true