diff --git a/bin/pages.js b/bin/pages.js index 004d22d..18b95c4 100644 --- a/bin/pages.js +++ b/bin/pages.js @@ -11,7 +11,6 @@ const getFileInfo = (app, file) => { } else app.style = {navigationBarTitleText: app.label} } - /AppPhotoAlbum/.test(app.name) if (/^App/.test(app.name)) { let {name, label} = app apps.list.push({id: name, name, label, path: `/mods/${name}/${name}`, libPath: file?.replace(/\\/g, '/')?.replace(/^src(\/.+)\.vue/, '$1')}) @@ -19,7 +18,6 @@ const getFileInfo = (app, file) => { } const saveApps = app => { if (app.list.length > 0) { - console.log(app.list) axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app).then(res => { if (res?.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") }).catch(() => 0)