清除打印

This commit is contained in:
aixianling
2022-05-12 11:29:17 +08:00
parent f0babad995
commit 6ed5ef69ad

View File

@@ -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)