From 94ee820ace3e5612fabc677c9a5fc45be48266c5 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 13 Jun 2022 10:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BC=80=E5=8F=91=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/components/sliderNav.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/components/sliderNav.vue b/examples/components/sliderNav.vue index f116bf13..5a0a9ff6 100644 --- a/examples/components/sliderNav.vue +++ b/examples/components/sliderNav.vue @@ -45,7 +45,7 @@ export default { return (this.apps || []).filter(e => !this.searchApp || reg?.test(e.name) || reg?.test(e.label)).map(e => { if (/project/.test(e.path)) { e.project = e.path.replace(/.*project\/([^\/]+)\/.+/, '$1') - } else if (/core/.test(e.path)) { + } else if (/\/core\//.test(e.path)) { e.project = "core" } return e