From ec141648c733ce36770637ffd21c22bd15a70449 Mon Sep 17 00:00:00 2001 From: silentdoer <1010993610@qq.com> Date: Wed, 22 Jan 2020 17:00:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3router=20regex=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E6=96=B0showdown=E4=BE=9D=E8=B5=96=E4=BB=8E1.9.0?= =?UTF-8?q?=E5=88=B01.9.1=EF=BC=8C=E4=BF=AE=E6=AD=A3npm=20run=20dev?= =?UTF-8?q?=E4=BC=9A=E5=85=88=E5=90=8E=E6=89=93=E5=BC=80=E4=B8=A4=E6=AC=A1?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/router/index.js | 2 +- vue.config.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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