From cd34e7589a96d02842dd05c6a5a66a07891b3530 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 20 May 2022 09:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E8=AE=BE=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/pages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pages.js b/bin/pages.js index 2a15db1..2193358 100644 --- a/bin/pages.js +++ b/bin/pages.js @@ -14,7 +14,7 @@ const getFileInfo = (app, file) => { if (/^App/.test(app.name)) { let {name, label} = app, path = app.path.replace(/.+[\\\/]([^\\\/]+)[\\\/]([^\\\/]+)$/g,`/mods/$1/$2`) - apps.list.push({id: name, name, label, path, libPath: file?.replace(/\\/g, '/')?.replace(/^src(\/.+)\.vue/, '$1')}) + apps.list.push({id: name, name, label, path, libPath: file?.replace(/\\/g, '/')?.replace(/^src(\/.+)\.vue/, '$1'),type:'mp'}) } } const saveApps = app => {