From 4922c3cb2ba20cf00970f7ee44cb659d999e327a Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 22 Feb 2022 14:50:22 +0800 Subject: [PATCH] =?UTF-8?q?linux=E4=B8=8B=E6=89=93=E5=8C=85=E5=8C=85?= =?UTF-8?q?=E7=BC=BA=E5=A4=B1=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=E5=B0=9D?= =?UTF-8?q?=E8=AF=953?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/allProject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/allProject.js b/project/allProject.js index 26018b86..d5810d91 100644 --- a/project/allProject.js +++ b/project/allProject.js @@ -124,7 +124,7 @@ const generateMain = project => { const install = function (Vue) { if (install.installed) return Promise.resolve() else{ - let contexts = require.context('.', true, /([\\\/]/.+)[\\\/]App[^\\\/]+\\.vue$/) + let contexts = require.context('.', true, /(\\/.+)[\\\/]App[^\\\/]+\\.vue$/) if (contexts) { contexts.keys().map(e => { if (contexts(e).default) {